* lib/bbitset.h (BITSET_WINDEX_MAX): Redefine so that it cannot be

interpreted as signed.
* lib/ebitset.c (ebitset_list): Fix bug.
From Michael Hayes.
This commit is contained in:
Paul Eggert
2002-10-05 05:02:30 +00:00
parent 9abb46d527
commit 5beedd9b58
2 changed files with 5 additions and 2 deletions

View File

@@ -771,7 +771,7 @@ ebitset_list (bset, list, num, next)
bitset_word *srcp = EBITSET_WORDS (elt);
windex = bitno / BITSET_WORD_BITS;
woffset = eindex / EBITSET_ELT_WORDS;
woffset = eindex * EBITSET_ELT_WORDS;
for (; (windex - woffset) < EBITSET_ELT_WORDS; windex++)
{