ref: c49714a02996d398353fe76f51ef084dcaa99602
parent: 2561fd5c9ed06af167a245e2a09732a68655c8fb
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Wed Apr 6 14:14:30 EDT 2005
Add an explicit cast to quiet a warning on MSVC. Bug 687988. git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@393 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/jbig2_symbol_dict.c
+++ b/jbig2_symbol_dict.c
@@ -359,7 +359,7 @@
if (params->SDHUFF) {
/* todo */
} else {
- code = jbig2_arith_int_decode(IAAI, as, &REFAGGNINST);
+ code = jbig2_arith_int_decode(IAAI, as, (int32_t*)&REFAGGNINST);
}
if (code || (int32_t)REFAGGNINST <= 0)
jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,