From 65b4baf0b8ea098600377229a2892bbf7ad8958e Mon Sep 17 00:00:00 2001 From: eustas Date: Sat, 7 Nov 2015 11:52:13 +0100 Subject: [PATCH] Fix implicit type conversion --- dec/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dec/decode.c b/dec/decode.c index e958cfc..bd0d213 100644 --- a/dec/decode.c +++ b/dec/decode.c @@ -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;