blob: a39a974d78b051ac8bdfc041fe1a0f4bb49a3088 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- gutenprint-5.3.4.orig/src/gimp2/print.c 2024-09-17 01:59:12.666943714 -0400
+++ gutenprint-5.3.4/src/gimp2/print.c 2024-09-17 02:02:46.637482947 -0400
@@ -114,8 +114,8 @@
{
if (gimp_thumbnail_data)
g_free(gimp_thumbnail_data);
- gint x = gimp_image_width(image_ID);
- gint y = gimp_image_height(image_ID);
+ gint x = gimp_image_width((gint32)(intptr_t)image_ID);
+ gint y = gimp_image_height((gint32)(intptr_t)image_ID);
if (*width > x)
*width = x;
if (*height > y)
|