summaryrefslogtreecommitdiff
path: root/tools/rgb2ycbcr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rgb2ycbcr.c')
-rw-r--r--tools/rgb2ycbcr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rgb2ycbcr.c b/tools/rgb2ycbcr.c
index de23594b..0407cd69 100644
--- a/tools/rgb2ycbcr.c
+++ b/tools/rgb2ycbcr.c
@@ -313,7 +313,7 @@ tiffcvt(TIFF* in, TIFF* out)
"raster buffer");
if (raster == 0) {
TIFFError(TIFFFileName(in),
- "Failed to allocate buffer (%zu elements of %zu each)",
+ "Failed to allocate buffer (%"TIFF_SIZE_FORMAT" elements of %"TIFF_SIZE_FORMAT" each)",
pixel_count,
sizeof(uint32_t));
return (0);