glib r6827 - in branches/glib-2-16: . glib



Author: matthiasc
Date: Fri Apr  4 14:07:09 2008
New Revision: 6827
URL: http://svn.gnome.org/viewvc/glib?rev=6827&view=rev

Log:
2008-04-04  Matthias Clasen  <mclasen redhat com>

        * glib/gmain.c: Make the fix for bug 448943 work.




Modified:
   branches/glib-2-16/ChangeLog
   branches/glib-2-16/glib/gmain.c

Modified: branches/glib-2-16/glib/gmain.c
==============================================================================
--- branches/glib-2-16/glib/gmain.c	(original)
+++ branches/glib-2-16/glib/gmain.c	Fri Apr  4 14:07:09 2008
@@ -3320,7 +3320,7 @@
       if (!session_bus_address)
         session_bus_address = g_getenv ("HOSTNAME");
       if (session_bus_address)
-        timer_perturb = ABS (g_str_hash (session_bus_address));
+        timer_perturb = ABS ((gint) g_str_hash (session_bus_address));
       else
         timer_perturb = 0;
     }



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