From eaaf18960f84989cfe2ac927ad5e19a0c56524de Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 17 Nov 2011 14:21:24 +0100 Subject: [PATCH] Fix the fix for G*_TO_POINTER casts on 32 bits The 'fix' from commit 16292dd753cb63f8ccb2267644aefbd2632dd52c broke the build on 32 bit because it was missing the parentheses around "gint" / "guint" in glib_gp[u]i_cast. https://bugzilla.gnome.org/show_bug.cgi?id=661546 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 84b41e379..5ee3b2ec5 100644 --- a/configure.ac +++ b/configure.ac @@ -3360,8 +3360,8 @@ $ac_cv_sizeof_int) gintptr_modifier='""' gintptr_format='"i"' guintptr_format='"u"' - glib_gpi_cast='gint' - glib_gpui_cast='guint' + glib_gpi_cast='(gint)' + glib_gpui_cast='(guint)' ;; $ac_cv_sizeof_long) glib_intptr_type_define=long