rev 393 - trunk

[email protected] Wed, 6 Apr 2005 11:14:31 -0700 (PDT)
Newsgroups gmane.comp.printing.ghostscript.jbig2dec.cvs
Message-ID <[email protected]>
Author: giles
Date: 2005-04-06 11:14:30 -0700 (Wed, 06 Apr 2005)
New Revision: 393

Modified:
   trunk/jbig2_symbol_dict.c
Log:
Add an explicit cast to quiet a warning on 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-06 00:29:36 UTC (rev 392)
+++ trunk/jbig2_symbol_dict.c	2005-04-06 18:14:30 UTC (rev 393)
@@ -359,7 +359,7 @@
 		  if (params->SDHUFF) {
 		      /* todo */
 		  } else {
-		      code =3D jbig2_arith_int_decode(IAAI, as, &REFAGGNINST);
+		      code =3D jbig2_arith_int_decode(IAAI, as, (int32_t*)&REFAGGNINST=
);
 		  }
 		  if (code || (int32_t)REFAGGNINST <=3D 0)
 		      jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,