(debug_lbitset): Do not assume that bitset_word is the same width as

int.
This commit is contained in:
Paul Eggert
2002-10-07 05:41:35 +00:00
parent 7a542f5d81
commit 09147be095

View File

@@ -1439,7 +1439,7 @@ debug_lbitset (bset)
fprintf (stderr, " Word %u:", i);
for (j = 0; j < LBITSET_WORD_BITS; j++)
if ((word & (1 << j)))
if ((word & ((bitset_word) 1 << j)))
fprintf (stderr, " %u", j);
fprintf (stderr, "\n");
}