Make the fix for bug 448943 work.

2008-04-04  Matthias Clasen  <mclasen@redhat.com>

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



svn path=/trunk/; revision=6826
This commit is contained in:
Matthias Clasen 2008-04-04 13:06:14 +00:00 committed by Matthias Clasen
parent 087bf32df3
commit ccd3ec90bf
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-04-04 Matthias Clasen <mclasen@redhat.com>
* glib/gmain.c: Make the fix for bug 448943 work.
2008-04-04 Tor Lillqvist <tml@novell.com>
* configure.in: Make sure we don't build both shared and static at

View File

@ -3320,7 +3320,7 @@ g_timeout_set_expiration (GTimeoutSource *timeout_source,
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;
}