summaryrefslogtreecommitdiff
path: root/tools/tiffcrop.c
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@codelibre.net>2021-02-02 22:00:42 +0000
committerRoger Leigh <rleigh@codelibre.net>2021-02-04 18:07:45 +0000
commitd7afc8c14f379f1e7dcf91d9c57cb9b2d1f2d926 (patch)
treeb58d7ae2d1964ad8b7267461827554b9d1ef99b9 /tools/tiffcrop.c
parentd7c68ae450623e6e8a436ed51467d5d215713d34 (diff)
downloadlibtiff-git-d7afc8c14f379f1e7dcf91d9c57cb9b2d1f2d926.tar.gz
Use TIFF_SSIZE_FORMAT for formatting tmsize_t
Diffstat (limited to 'tools/tiffcrop.c')
-rw-r--r--tools/tiffcrop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tiffcrop.c b/tools/tiffcrop.c
index 7751e866..06a2c148 100644
--- a/tools/tiffcrop.c
+++ b/tools/tiffcrop.c
@@ -865,7 +865,7 @@ static int readContigTilesIntoBuffer (TIFF* in, uint8_t* buf,
if (tbytes < tilesize && !ignore)
{
TIFFError(TIFFFileName(in),
- "Error, can't read tile at row %"PRIu32" col %"PRIu32", Read %"PRId64" bytes of %"PRId64,
+ "Error, can't read tile at row %"PRIu32" col %"PRIu32", Read %"TIFF_SSIZE_FORMAT" bytes of %"TIFF_SSIZE_FORMAT,
col, row, tbytes, tilesize);
status = 0;
_TIFFfree(tilebuf);