summaryrefslogtreecommitdiff
path: root/tools/tiffinfo.c
diff options
context:
space:
mode:
authorBob Friesenhahn <bfriesen@simple.dallas.tx.us>2008-12-31 23:48:01 +0000
committerBob Friesenhahn <bfriesen@simple.dallas.tx.us>2008-12-31 23:48:01 +0000
commit953d02c32d998c499a0900007e9979681a1c2994 (patch)
tree479c10f674ec86611df7dc243212dd3070c8edb1 /tools/tiffinfo.c
parent968401fdf3a334747f92fd22e1131b213d734bac (diff)
downloadlibtiff-git-953d02c32d998c499a0900007e9979681a1c2994.tar.gz
* libtiff/tiffio.h: GCC will now validate format specifications
for TIFFError(), TIFFErrorExt(), TIFFWarning(), and TIFFWarningExt() in order to reveal bugs. * Many fixes throughout to work better as a 64-bit build.
Diffstat (limited to 'tools/tiffinfo.c')
-rw-r--r--tools/tiffinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tiffinfo.c b/tools/tiffinfo.c
index 0090c7f5..a4ce68a0 100644
--- a/tools/tiffinfo.c
+++ b/tools/tiffinfo.c
@@ -1,4 +1,4 @@
-/* $Id: tiffinfo.c,v 1.13 2008-12-31 03:06:27 bfriesen Exp $ */
+/* $Id: tiffinfo.c,v 1.14 2008-12-31 23:48:02 bfriesen Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -263,7 +263,7 @@ ShowTile(uint32 row, uint32 col, tsample_t sample,
printf(",%u", sample);
printf("):\n");
while (nrow-- > 0) {
- for (cc = 0; cc < rowsize; cc++) {
+ for (cc = 0; cc < (uint32) rowsize; cc++) {
printf(" %02x", *pp++);
if (((cc+1) % 24) == 0)
putchar('\n');