libtiff: fix ppc build
This commit is contained in:
parent
efe79d9878
commit
1d6d4b7872
@ -727,9 +727,8 @@ JPEGPreDecode(TIFF* tif, tsample_t s)
|
||||
sp->cinfo.d.image_height < segment_height) {
|
||||
TIFFWarningExt(tif->tif_clientdata, module,
|
||||
"Improper JPEG strip/tile size, "
|
||||
"expected %dx%d, got %dx%d",
|
||||
segment_width, segment_height,
|
||||
sp->cinfo.d.image_width,
|
||||
"expected %" B_PRIu32 "x%" B_PRIu32 ", got %" B_PRIu32 "x%"
|
||||
B_PRIu32, segment_width, segment_height, sp->cinfo.d.image_width,
|
||||
sp->cinfo.d.image_height);
|
||||
}
|
||||
if (sp->cinfo.d.image_width > segment_width ||
|
||||
@ -742,9 +741,9 @@ JPEGPreDecode(TIFF* tif, tsample_t s)
|
||||
*/
|
||||
TIFFErrorExt(tif->tif_clientdata, module,
|
||||
"JPEG strip/tile size exceeds expected dimensions,"
|
||||
" expected %dx%d, got %dx%d",
|
||||
segment_width, segment_height,
|
||||
sp->cinfo.d.image_width, sp->cinfo.d.image_height);
|
||||
"expected %" B_PRIu32 "x%" B_PRIu32 ", got %" B_PRIu32 "x%"
|
||||
B_PRIu32, segment_width, segment_height, sp->cinfo.d.image_width,
|
||||
sp->cinfo.d.image_height);
|
||||
return (0);
|
||||
}
|
||||
if (sp->cinfo.d.num_components !=
|
||||
|
Loading…
Reference in New Issue
Block a user