From: Eric Biggers Date: Sat, 6 Sep 2014 20:30:34 +0000 (-0500) Subject: read_huffsym(): Use 'unsigned' for 'entry' and 'key_bits' X-Git-Tag: v1.7.2~25 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=d20508c65ee45d265f48964ba312f10f8c67a9c8 read_huffsym(): Use 'unsigned' for 'entry' and 'key_bits' Slight performance improvement. --- 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);