ref: 0c358eca216ac6fb627a0d920c7fb9eb3f53d014
parent: 26c310efdb8e8a914c36ffe7a4944448144adeef
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Thu Apr 28 00:36:32 EDT 2005
Fix implicit cast warnings from MSVC. Bug 687988. git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@398 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/jbig2_symbol_dict.c
+++ b/jbig2_symbol_dict.c
@@ -384,7 +384,7 @@
if (params->SDHUFF) {
/* todo */
} else {
- code = jbig2_arith_iaid_decode(IAID, as, &ID);
+ code = jbig2_arith_iaid_decode(IAID, as, (int32_t*)&ID);
code = jbig2_arith_int_decode(IARDX, as, &RDX);
code = jbig2_arith_int_decode(IARDY, as, &RDY);
}
@@ -462,7 +462,8 @@
{
int i = 0;
int j = 0;
- int k, m, exrunlength, exflag = 0;
+ int k, m, exflag = 0;
+ int32_t exrunlength;
if (params->SDINSYMS != NULL)
m = params->SDINSYMS->n_symbols;