summaryrefslogtreecommitdiff
path: root/gs/toolbin/bmpcmp.c
diff options
context:
space:
mode:
authorMarcos H. Woehrmann <marcos.woehrmann@artifex.com>2010-03-21 03:23:53 +0000
committerMarcos H. Woehrmann <marcos.woehrmann@artifex.com>2010-03-21 03:23:53 +0000
commit029200fa76aba3dc7f2bc5c1b769dc72f343205a (patch)
tree1109fa3b0aa77877f944a4737a194b074e7a3492 /gs/toolbin/bmpcmp.c
parentddef40217fb6060a8962885c46a8eac03264018f (diff)
Fixed a couple of compiler warnings in bmpcmp.c
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10950 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/toolbin/bmpcmp.c')
-rwxr-xr-xgs/toolbin/bmpcmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gs/toolbin/bmpcmp.c b/gs/toolbin/bmpcmp.c
index 9f405a85c..07d14a2fb 100755
--- a/gs/toolbin/bmpcmp.c
+++ b/gs/toolbin/bmpcmp.c
@@ -64,7 +64,7 @@ typedef struct
char *outroot;
/* Fuzzy table */
int wTabLen;
- int *wTab;
+ ptrdiff_t *wTab;
/* Image details */
int width;
int height;
@@ -959,6 +959,7 @@ static void simple_diff2(unsigned char *bmp,
{
isrc = (int *)bmp;
isrc2 = (int *)bmp2;
+ isrc3 = NULL;
span >>= 2;
isrc += span*(bbox2->ymin)+bbox2->xmin;
isrc2 += span*(bbox2->ymin)+bbox2->xmin;