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)
This commit is contained in:
Owen Taylor 2003-05-14 22:26:41 +00:00 committed by Owen Taylor
parent ba270fe70c
commit a410bfa04e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write):

View File

@ -197,7 +197,7 @@ gdk_pixdata_deserialize (GdkPixdata *pixdata,
/* deserialize header */
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)
return_header_corrupt (error);
stream = get_uint32 (stream, &pixdata->pixdata_type);