tif_fax3.c: fix warning C4018: '<': signed/unsigned mismatch introduced in past commits
This commit is contained in:
parent
0cd92e6459
commit
fe10bc1bc3
@ -528,7 +528,7 @@ Fax3SetupState(TIFF* tif)
|
||||
rowbytes = TIFFScanlineSize(tif);
|
||||
rowpixels = td->td_imagewidth;
|
||||
}
|
||||
if (rowbytes < (rowpixels + 7) / 8)
|
||||
if ((uint64)rowbytes < ((uint64)rowpixels + 7) / 8)
|
||||
{
|
||||
TIFFErrorExt(tif->tif_clientdata, module,
|
||||
"Inconsistent number of bytes per row : rowbytes=%lu rowpixels=%lu",
|
||||
|
Loading…
Reference in New Issue
Block a user