summaryrefslogtreecommitdiff
path: root/tools/tiffcmp.c
diff options
context:
space:
mode:
authorAndrey Kiselev <dron@ak4719.spb.edu>2004-06-04 14:16:14 +0000
committerAndrey Kiselev <dron@ak4719.spb.edu>2004-06-04 14:16:14 +0000
commit73e787830fd001ef8f1d6897e33056ee6794f66f (patch)
tree8aa4a85865068058270bbb07956cdc497765bdd8 /tools/tiffcmp.c
parentcf7d2a38c4d5e4c1fae17654c2458fbc4424e29b (diff)
downloadlibtiff-git-73e787830fd001ef8f1d6897e33056ee6794f66f.tar.gz
Avoid warnings.
Diffstat (limited to 'tools/tiffcmp.c')
-rw-r--r--tools/tiffcmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/tiffcmp.c b/tools/tiffcmp.c
index 3408ae2b..11bd1727 100644
--- a/tools/tiffcmp.c
+++ b/tools/tiffcmp.c
@@ -1,4 +1,4 @@
-/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiffcmp.c,v 1.4 2003-06-18 09:57:55 dron Exp $ */
+/* $Id: tiffcmp.c,v 1.5 2004-06-04 14:16:14 dron Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -133,7 +133,8 @@ tiffcmp(TIFF* tif1, TIFF* tif2)
{
uint16 config1, config2;
tsize_t size1;
- uint32 s, row;
+ uint32 row;
+ tsample_t s;
unsigned char *buf1, *buf2;
if (!CheckShortTag(tif1, tif2, TIFFTAG_BITSPERSAMPLE, "BitsPerSample"))