From d20508c65ee45d265f48964ba312f10f8c67a9c8 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 6 Sep 2014 15:30:34 -0500 Subject: [PATCH] read_huffsym(): Use 'unsigned' for 'entry' and 'key_bits' Slight performance improvement. --- include/wimlib/decompress_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wimlib/decompress_common.h b/include/wimlib/decompress_common.h index 99930b94..867e84a0 100644 --- a/include/wimlib/decompress_common.h +++ b/include/wimlib/decompress_common.h @@ -221,8 +221,8 @@ static inline u16 read_huffsym(struct input_bitstream *istream, const u16 decode_table[], unsigned table_bits, unsigned max_codeword_len) { - u16 entry; - u16 key_bits; + unsigned entry; + unsigned key_bits; bitstream_ensure_bits(istream, max_codeword_len); -- 2.46.1