Fix remaining warning
authorAntonin Descampe <antonin@gmail.com>
Wed, 9 Aug 2017 01:05:37 +0000 (18:05 -0700)
committerAntonin Descampe <antonin@gmail.com>
Wed, 9 Aug 2017 01:05:37 +0000 (18:05 -0700)
format specifier mismatch in #975

src/bin/jp2/converttif.c

index 080b470fa444b8f2cbcc92476c0bf139f9b7053a..4d2ed5a16a080bf3c79f4a442d106fa323f76e73 100644 (file)
@@ -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;