Commit a410bfa0 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Add a (gint32 *) => (guint32 *) cast. (#108615, Rick Jones)

Wed May 14 18:24:50 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixdata.c (gdk_pixdata_deserialize): Add a
        (gint32 *) => (guint32 *) cast. (#108615, Rick Jones)
parent ba270fe7
Wed May 14 18:24:50 2003 Owen Taylor <otaylor@redhat.com>
* gdk-pixdata.c (gdk_pixdata_deserialize): Add a
(gint32 *) => (guint32 *) cast. (#108615, Rick Jones)
2003-04-24 Matthias Clasen <maclas@gmx.de> 2003-04-24 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): * gdk-pixbuf-loader.c (gdk_pixbuf_loader_write):
......
...@@ -197,7 +197,7 @@ gdk_pixdata_deserialize (GdkPixdata *pixdata, ...@@ -197,7 +197,7 @@ gdk_pixdata_deserialize (GdkPixdata *pixdata,
/* deserialize header */ /* deserialize header */
stream = get_uint32 (stream, &pixdata->magic); stream = get_uint32 (stream, &pixdata->magic);
stream = get_uint32 (stream, &pixdata->length); stream = get_uint32 (stream, (guint32 *)&pixdata->length);
if (pixdata->magic != GDK_PIXBUF_MAGIC_NUMBER || pixdata->length < GDK_PIXDATA_HEADER_LENGTH) if (pixdata->magic != GDK_PIXBUF_MAGIC_NUMBER || pixdata->length < GDK_PIXDATA_HEADER_LENGTH)
return_header_corrupt (error); return_header_corrupt (error);
stream = get_uint32 (stream, &pixdata->pixdata_type); stream = get_uint32 (stream, &pixdata->pixdata_type);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment