Commit 45fdc135 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Add a necessary cast back. Pointed out by Kazuki Iwamoto.

        * glib/gthread.c (g_once_init_leave): Add a necessary cast back.
        Pointed out by Kazuki Iwamoto.


svn path=/trunk/; revision=7895
parent c41dbb91
2009-02-22 Matthias Clasen <mclasen@redhat.com>
Bug 572672 – glib/gthread.c: argument is different type
* glib/gthread.c (g_once_init_leave): Add a necessary cast back.
Pointed out by Kazuki Iwamoto.
2009-02-17 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
......
......@@ -228,7 +228,7 @@ g_once_init_leave (volatile gsize *value_location,
g_return_if_fail (initialization_value != 0);
g_return_if_fail (g_once_init_list != NULL);
g_atomic_pointer_set (value_location, (void*) initialization_value);
g_atomic_pointer_set ((void**)value_location, (void*) initialization_value);
g_mutex_lock (g_once_mutex);
g_once_init_list = g_slist_remove (g_once_init_list, (void*) value_location);
g_cond_broadcast (g_once_cond);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment