updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / gtk2-cleartype / revert_64bit_fix.patch
bloba6453e3e83bf5bed9677be5925102a39d00f1725
1 From a0f23e1706b34bca6a65183040d1f1498cce2a50 Mon Sep 17 00:00:00 2001
2 From: Matthias Clasen <mclasen@redhat.com>
3 Date: Thu, 25 Mar 2010 04:55:15 +0000
4 Subject: Fix a 64bit issue
6 Thank you libpng, for typedef unsigned long png_uint_32.
7 ---
8 diff --git a/gdk-pixbuf/io-png.c b/gdk-pixbuf/io-png.c
9 index c0374ca..43db70a 100644
10 --- a/gdk-pixbuf/io-png.c
11 +++ b/gdk-pixbuf/io-png.c
12 @@ -261,7 +261,7 @@ gdk_pixbuf__png_image_load (FILE *f, GError **error)
13 gchar *icc_profile_base64;
14 const gchar *icc_profile_title;
15 const gchar *icc_profile;
16 - guint icc_profile_size;
17 + gulong icc_profile_size;
18 guint32 retval;
19 gint compression_type;
21 @@ -607,7 +607,7 @@ png_info_callback (png_structp png_read_ptr,
22 gchar *icc_profile_base64;
23 const gchar *icc_profile_title;
24 const gchar *icc_profile;
25 - guint icc_profile_size;
26 + gulong icc_profile_size;
27 guint32 retval;
28 gint compression_type;
31 cgit v0.8.3.1