shithub: jbig2

Download patch

ref: 02da65fafcef22d50df76638362b946d6a2ec96b
parent: 12ab5048f182dda7a778b678781e604e6d3abbe6
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Mon Dec 1 13:02:00 EST 2003

Add a cast to avoid an incompatible pointer type warning.


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@294 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/jbig2_text.c
+++ b/jbig2_text.c
@@ -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 */