diff options
| author | Michael Giacomelli <giac2000@hotmail.com> | 2007-08-06 02:10:49 +0000 |
|---|---|---|
| committer | Michael Giacomelli <giac2000@hotmail.com> | 2007-08-06 02:10:49 +0000 |
| commit | aa2b7cbe03e9ea2eeff11dfe747f7ef827d4efcf (patch) | |
| tree | cc4011de5b2890d26428aaf6f051e56ca4476a3c /apps/codecs/libwma/bitstream.c | |
| parent | 98f0d7787906e91d50c3f1d435df9fd8fcaccc31 (diff) | |
| download | rockbox-aa2b7cbe03e9ea2eeff11dfe747f7ef827d4efcf.zip rockbox-aa2b7cbe03e9ea2eeff11dfe747f7ef827d4efcf.tar.gz rockbox-aa2b7cbe03e9ea2eeff11dfe747f7ef827d4efcf.tar.bz2 rockbox-aa2b7cbe03e9ea2eeff11dfe747f7ef827d4efcf.tar.xz | |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libwma/bitstream.c b/apps/codecs/libwma/bitstream.c index 78b078a..4c4ab23 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); |