projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ab1f1
)
gdktiff: Use guint32 instead of int32
author
Timm Bäder
<mail@baedert.org>
Sat, 18 Sep 2021 07:00:16 +0000
(09:00 +0200)
committer
Timm 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
patch
|
blob
|
history
diff --git
a/gdk/loaders/gdktiff.c
b/gdk/loaders/gdktiff.c
index 62d2194f0c626114d9650a5e294a053a5a95060a..53b1a1a09583ae0bdfdc148c9875618fd977c7cf 100644
(file)
--- 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, (
g
uint32 *)data, ORIENTATION_TOPLEFT, 1))
{
g_set_error_literal (error,
GDK_TEXTURE_ERROR, GDK_TEXTURE_ERROR_CORRUPT_IMAGE,