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

ray at ghostscript.com ray at ghostscript.com
Thu May 8 13:09:32 PDT 2008


Author: ray
Date: 2008-05-08 13:09:32 -0700 (Thu, 08 May 2008)
New Revision: 8718

Modified:
   trunk/gs/src/zchar42.c
Log:
Fix MSVC warning -- mismatched type.


Modified: trunk/gs/src/zchar42.c
===================================================================
--- trunk/gs/src/zchar42.c	2008-05-08 19:56:33 UTC (rev 8717)
+++ trunk/gs/src/zchar42.c	2008-05-08 20:09:32 UTC (rev 8718)
@@ -234,8 +234,8 @@
 
 	    name_string_ref(imemory, op - 1, &gref);
 
-	    if ((gref.tas.rsize == 7 && strncmp(gref.value.const_bytes, ".notdef", 7) == 0) || 
-		(gref.tas.rsize > 9 && strncmp(gref.value.const_bytes, ".notdef~GS", 10) == 0)) {
+	    if ((gref.tas.rsize == 7 && strncmp((const char *)gref.value.const_bytes, ".notdef", 7) == 0) || 
+		(gref.tas.rsize > 9 && strncmp((const char *)gref.value.const_bytes, ".notdef~GS", 10) == 0)) {
 		pop((psbpt == 0 ? 4 : 6));
 		return (*cont)(igs);
 	    }



More information about the gs-cvs mailing list