[jbig2-cvs] rev 393 - trunk

giles at ghostscript.com giles at ghostscript.com
Wed Apr 6 11:14:31 PDT 2005


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
===================================================================
--- 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 = 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,



More information about the jbig2-cvs mailing list