diff options
author | yzrh <yzrh@noema.org> | 2022-12-30 02:00:12 +0000 |
---|---|---|
committer | yzrh <yzrh@noema.org> | 2022-12-30 02:00:12 +0000 |
commit | 5466a441dfad627063ae498ed7359f1af9fb8de7 (patch) | |
tree | 90aaf94a8cacfe58e9a9188fcabaa558a4ba92e9 /src/cnki_jbig.h | |
parent | 1ce3f89574fa7256ab019eefc96a7362165cca52 (diff) | |
download | melon-5466a441dfad627063ae498ed7359f1af9fb8de7.tar.gz melon-5466a441dfad627063ae498ed7359f1af9fb8de7.tar.zst |
Fix type casting when processing data.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/cnki_jbig.h')
-rw-r--r-- | src/cnki_jbig.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |