summaryrefslogtreecommitdiff
path: root/jbig2dec/jbig2_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'jbig2dec/jbig2_priv.h')
-rw-r--r--jbig2dec/jbig2_priv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/jbig2dec/jbig2_priv.h b/jbig2dec/jbig2_priv.h
index d4642086f..08cd35734 100644
--- a/jbig2dec/jbig2_priv.h
+++ b/jbig2dec/jbig2_priv.h
@@ -94,10 +94,10 @@ struct _Jbig2Ctx {
uint8_t file_header_flags;
uint32_t n_pages;
- int n_segments_max;
+ uint32_t n_segments_max;
Jbig2Segment **segments;
- int n_segments; /* index of last segment header parsed */
- int segment_index; /* index of last segment body parsed */
+ uint32_t n_segments; /* index of last segment header parsed */
+ uint32_t segment_index; /* index of last segment body parsed */
/* list of decoded pages, including the one in progress,
currently stored as a contiguous, 0-indexed array. */