summaryrefslogtreecommitdiff
path: root/tools/tiffinfo.c
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@codelibre.net>2021-01-17 17:48:43 +0000
committerRoger Leigh <rleigh@codelibre.net>2021-01-28 08:26:50 +0000
commit352cb5a4fb110a01c694616f62b0d5c388a14c16 (patch)
treee7f2416375b28e0f1f9a20170ffed7433a81058c /tools/tiffinfo.c
parente6ce256e8e5ff69498d9cacc456288e6db6ca24b (diff)
downloadlibtiff-git-352cb5a4fb110a01c694616f62b0d5c388a14c16.tar.gz
libtiff: Use PRI format flags and remove unnecessary casts
Diffstat (limited to 'tools/tiffinfo.c')
-rw-r--r--tools/tiffinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tiffinfo.c b/tools/tiffinfo.c
index 3bf66c31..329c0d31 100644
--- a/tools/tiffinfo.c
+++ b/tools/tiffinfo.c
@@ -202,7 +202,7 @@ ShowStrip(tstrip_t strip, unsigned char* pp, uint32_t nrow, tsize_t scanline)
{
register tsize_t cc;
- printf("Strip %"PRIu32":\n", (unsigned long) strip);
+ printf("Strip %"PRIu32":\n", strip);
while (nrow-- > 0) {
for (cc = 0; cc < scanline; cc++) {
printf(" %02x", *pp++);