mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
Add a missing volatile for the IA64 implementation.
2005-12-02 Matthias Clasen <mclasen@redhat.com> * glib/gatomic.c (g_atomic_int_add): Add a missing volatile for the IA64 implementation.
This commit is contained in:
committed by
Matthias Clasen
parent
bbb77c8d21
commit
8f843302f8
@@ -418,7 +418,7 @@ g_atomic_int_exchange_and_add (volatile gint *atomic,
|
||||
}
|
||||
|
||||
void
|
||||
g_atomic_int_add (gint *atomic,
|
||||
g_atomic_int_add (volatile gint *atomic,
|
||||
gint val)
|
||||
{
|
||||
__sync_fetch_and_add_si (atomic, val);
|
||||
|
Reference in New Issue
Block a user