glib r7598 - trunk
- From: herzi svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7598 - trunk
- Date: Mon, 13 Oct 2008 12:54:13 +0000 (UTC)
Author: herzi
Date: Mon Oct 13 12:54:13 2008
New Revision: 7598
URL: http://svn.gnome.org/viewvc/glib?rev=7598&view=rev
Log:
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
Modified:
trunk/ChangeLog
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Mon Oct 13 12:54:13 2008
@@ -2892,7 +2892,7 @@
};
#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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]