diff options
Diffstat (limited to 'inflate_p.h')
-rw-r--r-- | inflate_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inflate_p.h b/inflate_p.h index fdec88e..7225e96 100644 --- a/inflate_p.h +++ b/inflate_p.h @@ -75,7 +75,7 @@ /* Return the low n bits of the bit accumulator (n < 16) */ #define BITS(n) \ - (hold & ((1U << (n)) - 1)) + (hold & ((1U << (unsigned)(n)) - 1)) /* Remove n bits from the bit accumulator */ #define DROPBITS(n) \ |