From 5466a441dfad627063ae498ed7359f1af9fb8de7 Mon Sep 17 00:00:00 2001 From: yzrh Date: Fri, 30 Dec 2022 02:00:12 +0000 Subject: Fix type casting when processing data. Signed-off-by: yzrh --- src/cnki_jbig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cnki_jbig.h') diff --git a/src/cnki_jbig.h b/src/cnki_jbig.h index 701b4df..2983607 100644 --- a/src/cnki_jbig.h +++ b/src/cnki_jbig.h @@ -27,8 +27,8 @@ typedef struct _dib_t { uint16_t depth; uint32_t compression; /* dib_compression_code */ uint32_t size; - uint32_t resolution_h; - uint32_t resolution_v; + int32_t resolution_h; + int32_t resolution_v; uint32_t colour; uint32_t colour_used; } dib_t; -- cgit v1.2.3