Skip to content

Commit

Permalink
Fix remaining warning
Browse files Browse the repository at this point in the history
format specifier mismatch in #975
  • Loading branch information
detonin committed Aug 9, 2017
1 parent 0394f8d commit 0c07950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/jp2/converttif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0c07950

Please sign in to comment.