| 1 | From a2458f1528e5733574bb26ff5452b1329116e6db Mon Sep 17 00:00:00 2001
|
| 2 | From: Simon Budig <[email protected]>
|
| 3 | Date: Sat, 20 May 2023 18:40:41 +0200
|
| 4 | Subject: [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 |
|
| 10 | diff --git a/plug-ins/file-tiff/file-tiff-load.c b/plug-ins/file-tiff/file-tiff-load.c
|
| 11 | index 0aafbaec5fd..a26e7af2752 100644
|
| 12 | |
| 13 | |
| 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 |
|