diff options
Diffstat (limited to 'src/libtiff/tif_packbits.c')
-rw-r--r-- | src/libtiff/tif_packbits.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libtiff/tif_packbits.c b/src/libtiff/tif_packbits.c index 644d0e5..8c40b60 100644 --- a/src/libtiff/tif_packbits.c +++ b/src/libtiff/tif_packbits.c @@ -1,4 +1,4 @@ -/* $Id: tif_packbits.c,v 1.1 2008/10/17 06:16:07 scuri Exp $ */ +/* $Id: tif_packbits.c,v 1.2 2009/08/21 04:01:59 scuri Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -240,7 +240,7 @@ PackBitsDecode(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) if( occ < n ) { TIFFWarningExt(tif->tif_clientdata, tif->tif_name, - "PackBitsDecode: discarding %d bytes " + "PackBitsDecode: discarding %ld bytes " "to avoid buffer overrun", n - occ); n = occ; @@ -253,7 +253,7 @@ PackBitsDecode(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) if (occ < n + 1) { TIFFWarningExt(tif->tif_clientdata, tif->tif_name, - "PackBitsDecode: discarding %d bytes " + "PackBitsDecode: discarding %ld bytes " "to avoid buffer overrun", n - occ + 1); n = occ - 1; |