summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/evince/evince/0001-tiff-fix-compile-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome/evince/evince/0001-tiff-fix-compile-warning.patch')
-rw-r--r--meta-gnome/recipes-gnome/evince/evince/0001-tiff-fix-compile-warning.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/evince/evince/0001-tiff-fix-compile-warning.patch b/meta-gnome/recipes-gnome/evince/evince/0001-tiff-fix-compile-warning.patch
new file mode 100644
index 000000000..ebc8976b3
--- /dev/null
+++ b/meta-gnome/recipes-gnome/evince/evince/0001-tiff-fix-compile-warning.patch
@@ -0,0 +1,33 @@
1From 00b5e55c90477eeac02bec58f032cb6916a1eb5c Mon Sep 17 00:00:00 2001
2From: Hib Eris <hib@hiberis.nl>
3Date: Mon, 20 Feb 2012 21:36:16 +0100
4Subject: [PATCH] tiff: fix compile warning
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Backport
10
11Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
12---
13 backend/tiff/tiff2ps.c | 4 ++--
14 1 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/backend/tiff/tiff2ps.c b/backend/tiff/tiff2ps.c
17index c0dc0bf..fc63c2e 100644
18--- a/backend/tiff/tiff2ps.c
19+++ b/backend/tiff/tiff2ps.c
20@@ -1127,8 +1127,8 @@ PS_Lvl2page(TIFF2PSContext* ctx, TIFF* tif, uint32 w, uint32 h)
21 }
22 buf_data = (unsigned char *)_TIFFmalloc(chunk_size);
23 if (!buf_data) {
24- TIFFError(ctx->filename, "Can't alloc %u bytes for %s.",
25- chunk_size, tiled_image ? "tiles" : "strips");
26+ TIFFError(ctx->filename, "Can't alloc %u bytes for %s.",
27+ (uint) chunk_size, tiled_image ? "tiles" : "strips");
28 return(FALSE);
29 }
30
31--
321.7.6.5
33