diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-01-26 21:39:37 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-01-26 21:39:37 +0100 |
commit | d83d6c1797dcb4a9239149f59b055585e539bb7e (patch) | |
tree | 692e8fa4dff68086f0689b3b053508fe4a946b55 | |
parent | 46d1b8f6b63b38a967d33791e46219d9201a073c (diff) |
use correct signature for deflate_bitmask
-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; } |