From 09147be095972d16f5c1d89dfe99bdb401b2685c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 7 Oct 2002 05:41:35 +0000 Subject: [PATCH] (debug_lbitset): Do not assume that bitset_word is the same width as int. --- lib/lbitset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lbitset.c b/lib/lbitset.c index 023814b9..8aa353cf 100644 --- a/lib/lbitset.c +++ b/lib/lbitset.c @@ -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"); } -- 2.47.2