[jbig2-cvs] rev 398 - trunk
giles at ghostscript.com
giles at ghostscript.com
Wed Apr 27 21:36:33 PDT 2005
Author: giles
Date: 2005-04-27 21:36:32 -0700 (Wed, 27 Apr 2005)
New Revision: 398
Modified:
trunk/jbig2_symbol_dict.c
Log:
Fix implicit cast warnings from MSVC. Bug 687988.
Modified: trunk/jbig2_symbol_dict.c
===================================================================
--- trunk/jbig2_symbol_dict.c 2005-04-28 04:35:55 UTC (rev 397)
+++ trunk/jbig2_symbol_dict.c 2005-04-28 04:36:32 UTC (rev 398)
@@ -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;
More information about the jbig2-cvs
mailing list