diff --git a/src/bin/jp2/converttif.c b/src/bin/jp2/converttif.c index 080b470f..4d2ed5a1 100644 --- a/src/bin/jp2/converttif.c +++ b/src/bin/jp2/converttif.c @@ -1281,7 +1281,7 @@ opj_image_t* tiftoimage(const char *filename, opj_cparameters_t *parameters) h = (int)tiHeight; if (tiSpp == 0 || tiSpp > 4) { /* should be 1 ... 4 */ - fprintf(stderr, "tiftoimage: Bad value for samples per pixel == %hu.\n" + fprintf(stderr, "tiftoimage: Bad value for samples per pixel == %d.\n" "\tAborting.\n", tiSpp); TIFFClose(tif); return NULL;