rev 398 - trunk
[email protected] Wed, 27 Apr 2005 21:36:33 -0700 (PDT)
| Newsgroups | gmane.comp.printing.ghostscript.jbig2dec.cvs |
|---|---|
| Message-ID | <[email protected]> |
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- 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 =3D jbig2_arith_iaid_decode(IAID, as, &ID);
+ code =3D jbig2_arith_iaid_decode(IAID, as, (int32_t*)&ID);
code =3D jbig2_arith_int_decode(IARDX, as, &RDX);
code =3D jbig2_arith_int_decode(IARDY, as, &RDY);
}
@@ -462,7 +462,8 @@
{
int i =3D 0;
int j =3D 0;
- int k, m, exrunlength, exflag =3D 0;
+ int k, m, exflag =3D 0;
+ int32_t exrunlength;
=20
if (params->SDINSYMS !=3D NULL)
m =3D params->SDINSYMS->n_symbols;