mirror of
https://github.com/GerbilSoft/zlib-ng.git
synced 2025-06-18 19:45:37 -04:00
Fixed compiler warning when using BITS macro.
This commit is contained in:
parent
d06d965ff0
commit
feff87a53e
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user