[gs-cvs] rev 8206 - trunk/gs/contrib/japanese

alexcher at ghostscript.com alexcher at ghostscript.com
Sun Aug 26 16:32:21 PDT 2007


Author: alexcher
Date: 2007-08-26 16:32:21 -0700 (Sun, 26 Aug 2007)
New Revision: 8206

Modified:
   trunk/gs/contrib/japanese/gdevmjc.c
Log:
Cast the pointers to the same type because aC++ compiler cannot compare
pointers of different types.

DIFFERENCES:
None, regression testing doesn't test this driver.


Modified: trunk/gs/contrib/japanese/gdevmjc.c
===================================================================
--- trunk/gs/contrib/japanese/gdevmjc.c	2007-08-26 23:24:57 UTC (rev 8205)
+++ trunk/gs/contrib/japanese/gdevmjc.c	2007-08-26 23:32:21 UTC (rev 8206)
@@ -1212,7 +1212,7 @@
       /* Correct color depth. */
 	  if (mj->density != 1024 || mj->yellow != 1024 || mj->cyan != 1024
 		  || mj->magenta != 1024 || mj->black != 1024 ) {
-	      for (p_data = (gx_color_index*) data_words; p_data < end_data; p_data++) {
+	      for (p_data = (gx_color_index*) data_words; p_data < (gx_color_index *)end_data; p_data++) {
 			*p_data = mjc_correct_color(pdev, *p_data);
 	      }
 	  }



More information about the gs-cvs mailing list