Fix TIFFErrorExt() formatting of size_t type for 32-bit compiles.
o
This commit is contained in:
parent
99b10edde9
commit
90771bcd56
@ -79,8 +79,8 @@ int TWebPDatasetWriter(const uint8_t* data, size_t data_size,
|
||||
|
||||
if ( (tif->tif_rawcc + (tmsize_t)data_size) > tif->tif_rawdatasize ) {
|
||||
TIFFErrorExt(tif->tif_clientdata, module,
|
||||
"Buffer too small by %lu bytes.",
|
||||
tif->tif_rawcc + data_size - tif->tif_rawdatasize);
|
||||
"Buffer too small by " TIFF_SIZE_FORMAT " bytes.",
|
||||
(size_t) (tif->tif_rawcc + data_size - tif->tif_rawdatasize));
|
||||
return 0;
|
||||
} else {
|
||||
_TIFFmemcpy(tif->tif_rawcp, data, data_size);
|
||||
|
Loading…
Reference in New Issue
Block a user