[glib] Fix the fix for G*_TO_POINTER casts on 32 bits



commit eaaf18960f84989cfe2ac927ad5e19a0c56524de
Author: Christian Persch <chpe gnome org>
Date:   Thu Nov 17 14:21:24 2011 +0100

    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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 84b41e3..5ee3b2e 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]