[jbig2-cvs] rev 294 - trunk

giles at ghostscript.com giles at ghostscript.com
Thu Dec 4 09:09:44 PST 2003


Author: giles
Date: 2003-12-01 10:02:00 -0800 (Mon, 01 Dec 2003)
New Revision: 294

Modified:
   trunk/jbig2_text.c
Log:
Add a cast to avoid an incompatible pointer type warning.


Modified: trunk/jbig2_text.c
===================================================================
--- trunk/jbig2_text.c	2003-12-01 17:54:07 UTC (rev 293)
+++ trunk/jbig2_text.c	2003-12-01 18:02:00 UTC (rev 294)
@@ -401,7 +401,7 @@
     image = jbig2_image_new(ctx, region_info.width, region_info.height);
 
     code = jbig2_decode_text_region(ctx, segment, &params,
-                dicts, n_dicts, image,
+                (const Jbig2SymbolDict * const *)dicts, n_dicts, image,
                 segment_data + offset, segment->data_length - offset);
 
     /* todo: check errors */



More information about the jbig2-cvs mailing list