From: Antonin Descampe Date: Wed, 9 Aug 2017 01:05:37 +0000 (-0700) Subject: Fix remaining warning X-Git-Tag: v2.2.0~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c07950cb3f318df5b2051ae5d96bef553bb9966;p=openjpeg Fix remaining warning format specifier mismatch in #975 --- 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;