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 | |
parent | 98f0d7787906e91d50c3f1d435df9fd8fcaccc31 (diff) | |
download | rockbox-aa2b7cbe03e9ea2eeff11dfe747f7ef827d4efcf.tar.gz rockbox-aa2b7cbe03e9ea2eeff11dfe747f7ef827d4efcf.zip |
Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14207 a1c6a512-1295-4272-9138-f99709370657
-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 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, | |||
155 | code_prefix2= code & (n_prefix>=32 ? 0xffffffff : (uint32_t)(1 << n_prefix)-1); | 155 | code_prefix2= code & (n_prefix>=32 ? 0xffffffff : (uint32_t)(1 << n_prefix)-1); |
156 | else | 156 | else |
157 | code_prefix2= code >> n; | 157 | code_prefix2= code >> n; |
158 | if (n > 0 && (int)code_prefix2 == code_prefix) { | 158 | if (n > 0 && (int)code_prefix2 == (int)code_prefix) { |
159 | if (n <= table_nb_bits) { | 159 | if (n <= table_nb_bits) { |
160 | /* no need to add another table */ | 160 | /* no need to add another table */ |
161 | j = (code << (table_nb_bits - n)) & (table_size - 1); | 161 | j = (code << (table_nb_bits - n)) & (table_size - 1); |