Merge pull request #256 from eustas/master

Fix implicit type conversion
This commit is contained in:
eustas 2015-11-07 13:18:15 +01:00
commit c90ec29f54

View File

@ -1276,7 +1276,7 @@ static BrotliResult ReadContextModes(BrotliState* s) {
BrotliBitReader* br = &s->br;
int i = s->loop_counter;
while (i < s->num_block_types[0]) {
while (i < (int)s->num_block_types[0]) {
uint32_t bits;
if (!BrotliSafeReadBits(br, 2, &bits)) {
s->loop_counter = i;