diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-07-01 17:26:21 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-07-31 22:25:10 +0800 |
commit | 2db336dc75bf710bcf327545c61f2d215332ce99 (patch) | |
tree | 6f2aecd3cd84a4454040f21aedacb925d8f3210c /jbig2dec/jbig2_page.h | |
parent | fd551bc0e40d2220b4343aeeefa7d9d3a64140eb (diff) | |
download | ghostpdl-2db336dc75bf710bcf327545c61f2d215332ce99.tar.gz |
jbig2dec: Read region segment height/width/x/y as unsigned.
The specification in 5.4.4 states that numbers are unsigned unless
otherwise stated. 7.4.1.1 through 7.4.1.4 specifying the region segment
height, width, x and y do not mention that these fields are signed,
hence they ought to read and handled as unsigned.
Diffstat (limited to 'jbig2dec/jbig2_page.h')
-rw-r--r-- | jbig2dec/jbig2_page.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jbig2dec/jbig2_page.h b/jbig2dec/jbig2_page.h index 316824f04..5957b7624 100644 --- a/jbig2dec/jbig2_page.h +++ b/jbig2dec/jbig2_page.h @@ -48,6 +48,6 @@ struct _Jbig2Page { int jbig2_page_info(Jbig2Ctx *ctx, Jbig2Segment *segment, const uint8_t *segment_data); int jbig2_end_of_stripe(Jbig2Ctx *ctx, Jbig2Segment *segment, const uint8_t *segment_data); int jbig2_end_of_page(Jbig2Ctx *ctx, Jbig2Segment *segment, const uint8_t *segment_data); -int jbig2_page_add_result(Jbig2Ctx *ctx, Jbig2Page *page, Jbig2Image *src, int x, int y, Jbig2ComposeOp op); +int jbig2_page_add_result(Jbig2Ctx *ctx, Jbig2Page *page, Jbig2Image *src, uint32_t x, uint32_t y, Jbig2ComposeOp op); #endif /* _JBIG2_PAGE_H */ |