From aaf541903b0c234f857923cfed4c6f61e16c2d60 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 25 Mar 2010 00:55:15 -0400 Subject: [PATCH] Fix a 64bit issue Thank you libpng, for typedef unsigned long png_uint_32. --- gdk-pixbuf/io-png.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk-pixbuf/io-png.c b/gdk-pixbuf/io-png.c index c0374ca966..43db70aa16 100644 --- a/gdk-pixbuf/io-png.c +++ b/gdk-pixbuf/io-png.c @@ -261,7 +261,7 @@ gdk_pixbuf__png_image_load (FILE *f, GError **error) gchar *icc_profile_base64; const gchar *icc_profile_title; const gchar *icc_profile; - guint icc_profile_size; + gulong icc_profile_size; guint32 retval; gint compression_type; @@ -607,7 +607,7 @@ png_info_callback (png_structp png_read_ptr, gchar *icc_profile_base64; const gchar *icc_profile_title; const gchar *icc_profile; - guint icc_profile_size; + gulong icc_profile_size; guint32 retval; gint compression_type;