# HG changeset patch # User michael # Date 1175980776 0 # Node ID a591ce5aaa04a6f2d3efebd8eb814fcb623b972d # Parent 39975b6c49bb4ea1cd060920a5405fbf65c3ced7 general purpose vars should be int diff -r 39975b6c49bb -r a591ce5aaa04 adpcm.c --- a/adpcm.c Sat Apr 07 21:15:52 2007 +0000 +++ b/adpcm.c Sat Apr 07 21:19:36 2007 +0000 @@ -1348,7 +1348,7 @@ /* Read in every sample for this channel. */ for (i = 0; i < samplecnt / 14; i++) { - uint8_t index = get_bits (&gb, 4) & 7; + int index = get_bits (&gb, 4) & 7; unsigned int exp = get_bits (&gb, 4); int factor1 = table[ch][index * 2]; int factor2 = table[ch][index * 2 + 1];