diff options
-rw-r--r-- | src/inflate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inflate.c b/src/inflate.c index 1544584..9fa7d8d 100644 --- a/src/inflate.c +++ b/src/inflate.c @@ -132,7 +132,7 @@ static uint16_t deflate_rev_word(uint16_t word, uint8_t bits) return ret; } -static uint8_t deflate_bitmask(uint8_t bit_count) +static uint16_t deflate_bitmask(uint8_t bit_count) { return (1 << bit_count) - 1; } |