summaryrefslogtreecommitdiff
path: root/src/libtiff/tif_getimage.c
diff options
context:
space:
mode:
authorscuri <scuri>2009-12-11 15:17:41 +0000
committerscuri <scuri>2009-12-11 15:17:41 +0000
commitbfaf1f4433372b13eb1b50c3be2c27c547cd9af5 (patch)
tree62502696239a70c3573c86f8dde426acbabe7409 /src/libtiff/tif_getimage.c
parent6e1595f84fdc0b9e7cc3d620ce8f2ca707f6e3fd (diff)
*** empty log message ***
Diffstat (limited to 'src/libtiff/tif_getimage.c')
-rw-r--r--src/libtiff/tif_getimage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libtiff/tif_getimage.c b/src/libtiff/tif_getimage.c
index 862fdb2..f9d85e0 100644
--- a/src/libtiff/tif_getimage.c
+++ b/src/libtiff/tif_getimage.c
@@ -1,4 +1,4 @@
-/* $Id: tif_getimage.c,v 1.2 2009/08/21 04:01:59 scuri Exp $ */
+/* $Id: tif_getimage.c,v 1.3 2009/12/11 15:17:41 scuri Exp $ */
/*
* Copyright (c) 1991-1997 Sam Leffler
@@ -481,7 +481,7 @@ TIFFReadRGBAImageOriented(TIFF* tif,
rwidth, img.height);
TIFFRGBAImageEnd(&img);
} else {
- TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), emsg);
+ TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), "%s", emsg);
ok = 0;
}
return (ok);
@@ -2555,7 +2555,7 @@ TIFFReadRGBAStrip(TIFF* tif, uint32 row, uint32 * raster )
TIFFRGBAImageEnd(&img);
} else {
- TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), emsg);
+ TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), "%s", emsg);
ok = 0;
}
@@ -2607,7 +2607,7 @@ TIFFReadRGBATile(TIFF* tif, uint32 col, uint32 row, uint32 * raster)
if (!TIFFRGBAImageOK(tif, emsg)
|| !TIFFRGBAImageBegin(&img, tif, 0, emsg)) {
- TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), emsg);
+ TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), "%s", emsg);
return( 0 );
}