forked from AuroraMiddleware/gtk
gdktiff: Use guint32 instead of int32
The latter seems to be deprecated.
This commit is contained in:
parent
c2ab1f172d
commit
c24b7877a0
@ -372,7 +372,7 @@ load_fallback (TIFF *tif,
|
|||||||
|
|
||||||
data = g_malloc (width * height * 4);
|
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,
|
g_set_error_literal (error,
|
||||||
GDK_TEXTURE_ERROR, GDK_TEXTURE_ERROR_CORRUPT_IMAGE,
|
GDK_TEXTURE_ERROR, GDK_TEXTURE_ERROR_CORRUPT_IMAGE,
|
||||||
|
Loading…
Reference in New Issue
Block a user