[Commit] Xc/src xc.c,1.6,1.7

Carl Worth commit@keithp.com
Mon, 28 Apr 2003 04:29:36 -0700


Committed by: cworth

Update of /local/src/CVS/Xc/src
In directory home.keithp.com:/tmp/cvs-serv16068/src

Modified Files:
	xc.c 
Log Message:
Fixed to track change in libic interface

Index: xc.c
===================================================================
RCS file: /local/src/CVS/Xc/src/xc.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- xc.c	17 Apr 2003 15:55:43 -0000	1.6
+++ xc.c	28 Apr 2003 11:29:33 -0000	1.7
@@ -116,9 +116,9 @@
     } else {
 	_XcSurfacePullImage (dst);
 
-	/* XXX: This cast should only occur with a #define hint from libic that it is OK */
+	/* XXX: These casts should only occur with a #define hint from libic that it is OK */
 	IcFillRectangles (op, dst->icimage,
-			  (IcColor *) color, rects, nrects);
+			  (IcColor *) color, (IcRectangle *) rects, nrects);
 
 	_XcSurfacePushImage (dst);
     }
@@ -144,8 +144,9 @@
 	_XcSurfacePullImage (src);
 	_XcSurfacePullImage (dst);
 
+	/* XXX: This cast should only occur with a #define hint from libic that it is OK */
 	IcCompositeTrapezoids (op, src->icimage, dst->icimage,
-			       xSrc, ySrc, traps, ntraps);
+			       xSrc, ySrc, (IcTrapezoid *) traps, ntraps);
 
 	_XcSurfacePushImage (dst);
     }
@@ -171,8 +172,9 @@
 	_XcSurfacePullImage (src);
 	_XcSurfacePullImage (dst);
 
+	/* XXX: This cast should only occur with a #define hint from libic that it is OK */
 	IcCompositeTriangles (op, src->icimage, dst->icimage,
-			      xSrc, ySrc, tris, ntris);
+			      xSrc, ySrc, (IcTriangle *) tris, ntris);
 
 	_XcSurfacePushImage (dst);
     }