summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-12-27 19:50:02 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-12-27 19:50:02 +0000
commit1e4efb655493397dc19921a7a49281e789f9160c (patch)
tree3ff4cc8e87d9fade825efdb7e48a984ae37b85eb /configure.in
parent97ffe020cdee9cec2f8c4591658ea72ee9e6d59e (diff)
Fix #316221, Michal Benes, Stanislav Brabec;
2005-12-27 Matthias Clasen <mclasen@redhat.com> Fix #316221, Michal Benes, Stanislav Brabec; * configure.in: Fix a strict aliasing problem in g_static_mutex_get_mutex(). * glib/gthread.h: ...and in g_static_mutex_get_mutex_impl_shortcut().
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index b4fae1bd0..c14fa49e1 100644
--- a/configure.in
+++ b/configure.in
@@ -2358,7 +2358,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)) : \\
+ (g_thread_use_default_impl ? ((GMutex*) &((mutex)->static_mutex.pad)) : \\
g_static_mutex_get_mutex_impl_shortcut (&((mutex)->runtime_mutex)))
_______EOF
else