mirror of
https://github.com/google/brotli.git
synced 2025-01-07 15:30:10 +00:00
Fix implicit type conversion
This commit is contained in:
parent
a6881eb309
commit
65b4baf0b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user