[evince] tiff: fix compile warning
- From: Jan-Joost Spanjers <jspanjers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] tiff: fix compile warning
- Date: Mon, 20 Feb 2012 20:36:31 +0000 (UTC)
commit 00b5e55c90477eeac02bec58f032cb6916a1eb5c
Author: Hib Eris <hib hiberis nl>
Date: Mon Feb 20 21:36:16 2012 +0100
tiff: fix compile warning
backend/tiff/tiff2ps.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/backend/tiff/tiff2ps.c b/backend/tiff/tiff2ps.c
index c0dc0bf..fc63c2e 100644
--- a/backend/tiff/tiff2ps.c
+++ b/backend/tiff/tiff2ps.c
@@ -1127,8 +1127,8 @@ PS_Lvl2page(TIFF2PSContext* ctx, TIFF* tif, uint32 w, uint32 h)
}
buf_data = (unsigned char *)_TIFFmalloc(chunk_size);
if (!buf_data) {
- TIFFError(ctx->filename, "Can't alloc %i bytes for %s.",
- chunk_size, tiled_image ? "tiles" : "strips");
+ TIFFError(ctx->filename, "Can't alloc %u bytes for %s.",
+ (uint) chunk_size, tiled_image ? "tiles" : "strips");
return(FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]