shithub: jbig2

Download patch

ref: 08c3f83f958d081cdebe170fc5d7cec648d347aa
parent: 3397c507d521d6f33ca30c7f11550338d22cad08
author: Sebastian Rasmussen <[email protected]>
date: Sun Sep 15 13:19:12 EDT 2019

jbig2dec: Keep type of index and array length the same.

--- a/jbig2_symbol_dict.c
+++ b/jbig2_symbol_dict.c
@@ -70,7 +70,7 @@
 jbig2_dump_symbol_dict(Jbig2Ctx *ctx, Jbig2Segment *segment)
 {
     Jbig2SymbolDict *dict = (Jbig2SymbolDict *) segment->result;
-    int index;
+    uint32_t index;
     char filename[24];
     int code;