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

leonardo at ghostscript.com leonardo at ghostscript.com
Thu Jul 13 05:37:03 PDT 2006


Author: leonardo
Date: 2006-07-13 05:37:03 -0700 (Thu, 13 Jul 2006)
New Revision: 6917

Modified:
   trunk/gs/src/ziodevsc.c
Log:
Fix : MSVC8 compiler warnings.

DIFFERENCES :

None.


Modified: trunk/gs/src/ziodevsc.c
===================================================================
--- trunk/gs/src/ziodevsc.c	2006-07-13 12:25:38 UTC (rev 6916)
+++ trunk/gs/src/ziodevsc.c	2006-07-13 12:37:03 UTC (rev 6917)
@@ -101,7 +101,7 @@
 	    (mem->gs_lib_ctx->caller_handle, (char *)pw->ptr + 1,
 	     mem->gs_lib_ctx->stdin_is_interactive ? 1 : wcount);
     else
-	count = gp_stdin_read(pw->ptr + 1, wcount,
+	count = gp_stdin_read((char *)pw->ptr + 1, wcount,
 		      mem->gs_lib_ctx->stdin_is_interactive,
 		      mem->gs_lib_ctx->fstdin);
 
@@ -186,7 +186,7 @@
 
     if (count == 0) 
 	return 0;
-    written = outwrite(st->memory, pr->ptr + 1, count);
+    written = outwrite(st->memory, (const char *)pr->ptr + 1, count);
     if (written < count)
 	return ERRC;
     pr->ptr += written;



More information about the gs-cvs mailing list