[gtk/wip/baedert/for-master: 173/173] gdktiff: Use guint32 instead of int32
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 173/173] gdktiff: Use guint32 instead of int32
- Date: Sat, 18 Sep 2021 07:15:13 +0000 (UTC)
commit c24b7877a0fba7ce05c2390bffa383d841861637
Author: Timm Bäder <mail baedert org>
Date: Sat Sep 18 09:00:16 2021 +0200
gdktiff: Use guint32 instead of int32
The latter seems to be deprecated.
gdk/loaders/gdktiff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/loaders/gdktiff.c b/gdk/loaders/gdktiff.c
index 62d2194f0c..53b1a1a095 100644
--- a/gdk/loaders/gdktiff.c
+++ b/gdk/loaders/gdktiff.c
@@ -372,7 +372,7 @@ load_fallback (TIFF *tif,
data = g_malloc (width * height * 4);
- if (!TIFFReadRGBAImageOriented (tif, width, height, (uint32 *)data, ORIENTATION_TOPLEFT, 1))
+ if (!TIFFReadRGBAImageOriented (tif, width, height, (guint32 *)data, ORIENTATION_TOPLEFT, 1))
{
g_set_error_literal (error,
GDK_TEXTURE_ERROR, GDK_TEXTURE_ERROR_CORRUPT_IMAGE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]