summaryrefslogtreecommitdiff
path: root/libtiff/tif_jbig.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtiff/tif_jbig.c')
-rw-r--r--libtiff/tif_jbig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libtiff/tif_jbig.c b/libtiff/tif_jbig.c
index 58ef8fe6..093ff7f0 100644
--- a/libtiff/tif_jbig.c
+++ b/libtiff/tif_jbig.c
@@ -101,14 +101,14 @@ static int JBIGDecode(TIFF* tif, uint8_t* buffer, tmsize_t size, uint16_t s)
if( (tmsize_t)decodedSize < size )
{
TIFFWarningExt(tif->tif_clientdata, "JBIG",
- "Only decoded %lu bytes, whereas %lu requested",
- decodedSize, (unsigned long)size);
+ "Only decoded %lu bytes, whereas %"PRId64" requested",
+ decodedSize, size);
}
else if( (tmsize_t)decodedSize > size )
{
TIFFErrorExt(tif->tif_clientdata, "JBIG",
- "Decoded %lu bytes, whereas %lu were requested",
- decodedSize, (unsigned long)size);
+ "Decoded %lu bytes, whereas %"PRId64" were requested",
+ decodedSize, size);
jbg_dec_free(&decoder);
return 0;
}