diff options
author | Marcos H. Woehrmann <marcos.woehrmann@artifex.com> | 2010-03-21 03:23:53 +0000 |
---|---|---|
committer | Marcos H. Woehrmann <marcos.woehrmann@artifex.com> | 2010-03-21 03:23:53 +0000 |
commit | 029200fa76aba3dc7f2bc5c1b769dc72f343205a (patch) | |
tree | 1109fa3b0aa77877f944a4737a194b074e7a3492 /gs/toolbin/bmpcmp.c | |
parent | ddef40217fb6060a8962885c46a8eac03264018f (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-x | gs/toolbin/bmpcmp.c | 3 |
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; |