fix warning messages (v32 is unsigned)
This commit is contained in:
parent
2e822691d7
commit
712fe9f5b9
@ -394,7 +394,7 @@ _TIFFVSetField(TIFF* tif, uint32 tag, va_list ap)
|
|||||||
if (tif->tif_mode != O_RDONLY)
|
if (tif->tif_mode != O_RDONLY)
|
||||||
goto badvalue32;
|
goto badvalue32;
|
||||||
TIFFWarningExt(tif->tif_clientdata, tif->tif_name,
|
TIFFWarningExt(tif->tif_clientdata, tif->tif_name,
|
||||||
"Nonstandard tile width %d, convert file", v32);
|
"Nonstandard tile width %u, convert file", v32);
|
||||||
}
|
}
|
||||||
td->td_tilewidth = v32;
|
td->td_tilewidth = v32;
|
||||||
tif->tif_flags |= TIFF_ISTILED;
|
tif->tif_flags |= TIFF_ISTILED;
|
||||||
@ -405,7 +405,7 @@ _TIFFVSetField(TIFF* tif, uint32 tag, va_list ap)
|
|||||||
if (tif->tif_mode != O_RDONLY)
|
if (tif->tif_mode != O_RDONLY)
|
||||||
goto badvalue32;
|
goto badvalue32;
|
||||||
TIFFWarningExt(tif->tif_clientdata, tif->tif_name,
|
TIFFWarningExt(tif->tif_clientdata, tif->tif_name,
|
||||||
"Nonstandard tile length %d, convert file", v32);
|
"Nonstandard tile length %u, convert file", v32);
|
||||||
}
|
}
|
||||||
td->td_tilelength = v32;
|
td->td_tilelength = v32;
|
||||||
tif->tif_flags |= TIFF_ISTILED;
|
tif->tif_flags |= TIFF_ISTILED;
|
||||||
|
Loading…
Reference in New Issue
Block a user