[gs-commits] rev 10950 - trunk/gs/toolbin

marcos at ghostscript.com marcos at ghostscript.com
Sun Mar 21 03:23:53 UTC 2010


Author: marcos
Date: 2010-03-21 03:23:53 +0000 (Sun, 21 Mar 2010)
New Revision: 10950

Modified:
   trunk/gs/toolbin/bmpcmp.c
Log:
Fixed a couple of compiler warnings in bmpcmp.c


Modified: trunk/gs/toolbin/bmpcmp.c
===================================================================
--- trunk/gs/toolbin/bmpcmp.c	2010-03-19 20:38:55 UTC (rev 10949)
+++ trunk/gs/toolbin/bmpcmp.c	2010-03-21 03:23:53 UTC (rev 10950)
@@ -64,7 +64,7 @@
     char *outroot;
     /* Fuzzy table */
     int   wTabLen;
-    int  *wTab;
+    ptrdiff_t  *wTab;
     /* Image details */
     int   width;
     int   height;
@@ -959,6 +959,7 @@
     {
         isrc  = (int *)bmp;
         isrc2 = (int *)bmp2;
+        isrc3 = NULL;
         span >>= 2;
         isrc  += span*(bbox2->ymin)+bbox2->xmin;
         isrc2 += span*(bbox2->ymin)+bbox2->xmin;



More information about the gs-commits mailing list