]>
Commit | Line | Data |
---|---|---|
b5878a85 JP |
1 | diff --git a/src/headers/gx_system.h b/src/headers/gx_system.h |
2 | index d334ecfc..88d97567 100644 | |
3 | --- a/src/headers/gx_system.h | |
4 | +++ b/src/headers/gx_system.h | |
5 | @@ -132,7 +132,7 @@ inline T *atomic_get(T*& p) { | |
6 | ||
7 | template <class T> | |
8 | inline bool atomic_compare_and_exchange(T **p, T *oldv, T *newv) { | |
9 | - return g_atomic_pointer_compare_and_exchange(reinterpret_cast<void* volatile*>(p), static_cast<void*>(oldv), newv); | |
10 | + return g_atomic_pointer_compare_and_exchange(reinterpret_cast<void**>(p), static_cast<void*>(oldv), newv); | |
11 | } | |
12 | ||
13 |