projects/guix·blob python-team · refs

25 lines · 849 B

1From a2458f1528e5733574bb26ff5452b1329116e6db Mon Sep 17 00:00:00 2001
2From: Simon Budig <[email protected]>
3Date: Sat, 20 May 2023 18:40:41 +0200
4Subject: [PATCH] file-tiff-load: fix mismatching variable type
5
6---
7 plug-ins/file-tiff/file-tiff-load.c | 6 +++---
8 1 file changed, 3 insertions(+), 3 deletions(-)
9
10diff --git a/plug-ins/file-tiff/file-tiff-load.c b/plug-ins/file-tiff/file-tiff-load.c
11index 0aafbaec5fd..a26e7af2752 100644
12--- a/plug-ins/file-tiff/file-tiff-load.c
13+++ b/plug-ins/file-tiff/file-tiff-load.c
14@@ -1297,8 +1297,8 @@ load_image (GFile *file,
15
16 /* any resolution info in the file? */
17 {
18- gfloat xres = 72.0;
19- gfloat yres = 72.0;
20+ gdouble xres = 72.0;
21+ gdouble yres = 72.0;
22 gushort read_unit;
23 GimpUnit unit = GIMP_UNIT_PIXEL; /* invalid unit */
24
25