[gs-cvs] rev 7488 - trunk/gs/src

lpd at ghostscript.com lpd at ghostscript.com
Sun Dec 10 16:56:42 PST 2006


Author: lpd
Date: 2006-12-10 16:56:42 -0800 (Sun, 10 Dec 2006)
New Revision: 7488

Modified:
   trunk/gs/src/gxpath.h
   trunk/gs/src/gxstroke.c
Log:
Removes 3 compilation warnings.


Modified: trunk/gs/src/gxpath.h
===================================================================
--- trunk/gs/src/gxpath.h	2006-12-10 20:25:51 UTC (rev 7487)
+++ trunk/gs/src/gxpath.h	2006-12-11 00:56:42 UTC (rev 7488)
@@ -194,7 +194,7 @@
 bool gx_path_has_curves(const gx_path *),
     gx_path_is_void(const gx_path *),	/* no segments */
     gx_path_is_null(const gx_path *),	/* nothing at all */
-    gx_path__check_curves(const gx_path * ppath, gx_path_copy_options options, fixed fixed_flat);
+    gx_path__check_curves(const gx_path * ppath, gx_path_copy_options options, fixed fixed_flat),
     gx_path_has_long_segments(const gx_path * ppath);
 typedef enum {
     prt_none = 0,

Modified: trunk/gs/src/gxstroke.c
===================================================================
--- trunk/gs/src/gxstroke.c	2006-12-10 20:25:51 UTC (rev 7487)
+++ trunk/gs/src/gxstroke.c	2006-12-11 00:56:42 UTC (rev 7488)
@@ -14,6 +14,7 @@
 /* $Id$ */
 /* Path stroking procedures for Ghostscript library */
 #include "math_.h"
+#include "memory_.h"		/* for memcpy */
 #include "gx.h"
 #include "gpcheck.h"
 #include "gserrors.h"
@@ -1510,7 +1511,7 @@
 	(code = gx_path_add_partial_arc(ppath, xo, yo, xo - cdx, yo - cdy,
 					quarter_arc_fraction)) < 0 ||
 	/* The final point must be (xe,ye). */
-	last_line && (code = gx_path_add_line(ppath, xe, ye)) < 0
+	(last_line && (code = gx_path_add_line(ppath, xe, ye)) < 0)
 	)
 	return code;
     vd_lineto(xe, ye);



More information about the gs-cvs mailing list