28 lines
959 B
Diff
28 lines
959 B
Diff
|
From abf4f7560bf9baecd9e111e47c7c82c50e813ef1 Mon Sep 17 00:00:00 2001
|
||
|
From: Massimo Valentini <mvalentini@src.gnome.org>
|
||
|
Date: Sun, 19 Feb 2017 21:01:49 +0100
|
||
|
Subject: Bug 593576 - PDF Import filter: crashes when importing large image
|
||
|
PDF or specifying high resolution
|
||
|
|
||
|
Manually committed to master as commit adae3882d2c9955f9dd62482f9bcdb8456679701 due to code changes there.
|
||
|
---
|
||
|
libgimp/gimplayer.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/libgimp/gimplayer.c b/libgimp/gimplayer.c
|
||
|
index af210a4..15367e7 100644
|
||
|
--- a/libgimp/gimplayer.c
|
||
|
+++ b/libgimp/gimplayer.c
|
||
|
@@ -236,7 +236,7 @@ gimp_layer_new_from_surface (gint32 image_ID,
|
||
|
cairo_format_t format;
|
||
|
gint width;
|
||
|
gint height;
|
||
|
- gint rowstride;
|
||
|
+ gsize rowstride;
|
||
|
gdouble range = progress_end - progress_start;
|
||
|
guint count = 0;
|
||
|
guint done = 0;
|
||
|
--
|
||
|
cgit v0.12
|
||
|
|