shithub: jbig2

Download patch

ref: 350f6edb35cbe35fbb0ac7add1a1c7e46147a763
parent: e552e5440e5e285d7df43789a444ccba5727d642
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Mon Oct 27 05:28:24 EST 2003

Add a cast to correct an MSVC warning.


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

--- a/jbig2_text.c
+++ b/jbig2_text.c
@@ -209,7 +209,7 @@
 	    if (params->SBHUFF) {
 		/* todo */
 	    } else {
-		code = jbig2_arith_iaid_decode(IAID, as, &ID);
+		code = jbig2_arith_iaid_decode(IAID, as, (int *)&ID);
 	    }
 	    if (ID >= max_id) {
 		return jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,