gdktiff: Use guint32 instead of int32
authorTimm Bäder <mail@baedert.org>
Sat, 18 Sep 2021 07:00:16 +0000 (09:00 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 18 Sep 2021 07:00:16 +0000 (09:00 +0200)
The latter seems to be deprecated.

gdk/loaders/gdktiff.c

index 62d2194f0c626114d9650a5e294a053a5a95060a..53b1a1a09583ae0bdfdc148c9875618fd977c7cf 100644 (file)
@@ -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,