1
0
Fork 0
forked from len0rd/rockbox

Fix warning.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14207 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Giacomelli 2007-08-06 02:10:49 +00:00
parent 98f0d77879
commit aa2b7cbe03

View file

@ -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);