mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Bug 556101 – static mutex yields warnings with g++ Reviewed by Tim Janik
2008-10-13 Sven Herzberg <sven@imendio.com> Bug 556101 – static mutex yields warnings with g++ Reviewed by Tim Janik * configure.in: added an intermediate cast to gpointer svn path=/trunk/; revision=7598
This commit is contained in:
parent
630f89fb1a
commit
62510425df
@ -1,3 +1,10 @@
|
||||
2008-10-13 Sven Herzberg <sven@imendio.com>
|
||||
|
||||
Bug 556101 – static mutex yields warnings with g++
|
||||
Reviewed by Tim Janik
|
||||
|
||||
* configure.in: added an intermediate cast to gpointer
|
||||
|
||||
2008-10-13 Christian Persch <chpe@gnome.org>
|
||||
|
||||
Bug 555311 – format not a string literal and no format arguments
|
||||
|
@ -2892,7 +2892,7 @@ struct _GStaticMutex
|
||||
};
|
||||
#define G_STATIC_MUTEX_INIT { NULL, { { $g_mutex_contents} } }
|
||||
#define g_static_mutex_get_mutex(mutex) \\
|
||||
(g_thread_use_default_impl ? ((GMutex*) ((mutex)->static_mutex.pad)) : \\
|
||||
(g_thread_use_default_impl ? ((GMutex*)(gpointer) ((mutex)->static_mutex.pad)) : \\
|
||||
g_static_mutex_get_mutex_impl_shortcut (&((mutex)->runtime_mutex)))
|
||||
_______EOF
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user