diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-12-27 19:50:02 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-12-27 19:50:02 +0000 |
commit | 1e4efb655493397dc19921a7a49281e789f9160c (patch) | |
tree | 3ff4cc8e87d9fade825efdb7e48a984ae37b85eb /configure.in | |
parent | 97ffe020cdee9cec2f8c4591658ea72ee9e6d59e (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.in | 2 |
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 |