mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
tiffdec: correct format string
the expression using dircount will be promoted to int when tdir_t is an unsigned short. quiets: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] Change-Id: If2e8c27454826556178b0a972aaed272d5fbfa07
This commit is contained in:
parent
2b9048e324
commit
b50f277bc7
@ -36,7 +36,7 @@ int ReadTIFF(const char* const filename,
|
||||
dircount = TIFFNumberOfDirectories(tif);
|
||||
if (dircount > 1) {
|
||||
fprintf(stderr, "Warning: multi-directory TIFF files are not supported.\n"
|
||||
"Only the first will be used, %hu will be ignored.\n",
|
||||
"Only the first will be used, %d will be ignored.\n",
|
||||
dircount - 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user