From aa2b7cbe03e9ea2eeff11dfe747f7ef827d4efcf Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Mon, 6 Aug 2007 02:10:49 +0000 Subject: Fix warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14207 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libwma/bitstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/libwma') diff --git a/apps/codecs/libwma/bitstream.c b/apps/codecs/libwma/bitstream.c index 78b078adc7..4c4ab232ff 100644 --- a/apps/codecs/libwma/bitstream.c +++ b/apps/codecs/libwma/bitstream.c @@ -155,7 +155,7 @@ static int build_table(VLC *vlc, int table_nb_bits, code_prefix2= code & (n_prefix>=32 ? 0xffffffff : (uint32_t)(1 << n_prefix)-1); else code_prefix2= code >> n; - if (n > 0 && (int)code_prefix2 == code_prefix) { + if (n > 0 && (int)code_prefix2 == (int)code_prefix) { if (n <= table_nb_bits) { /* no need to add another table */ j = (code << (table_nb_bits - n)) & (table_size - 1); -- cgit v1.2.3