summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libwma/bitstream.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2007-08-06 02:10:49 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2007-08-06 02:10:49 +0000
commitaa2b7cbe03e9ea2eeff11dfe747f7ef827d4efcf (patch)
treecc4011de5b2890d26428aaf6f051e56ca4476a3c /apps/codecs/libwma/bitstream.c
parent98f0d7787906e91d50c3f1d435df9fd8fcaccc31 (diff)
downloadrockbox-aa2b7cbe03e9ea2eeff11dfe747f7ef827d4efcf.tar.gz
rockbox-aa2b7cbe03e9ea2eeff11dfe747f7ef827d4efcf.zip
Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14207 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwma/bitstream.c')
-rw-r--r--apps/codecs/libwma/bitstream.c2
1 files changed, 1 insertions, 1 deletions
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);