aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 1726cb37..b21b76a3 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -581,7 +581,7 @@ struct ALCdevice_struct {
almtx_t BackendLock;
struct ALCbackend *Backend;
- ALCdevice *volatile next;
+ ATOMIC(ALCdevice*) next;
};
// Frequency was requested by the app or config file
@@ -692,7 +692,7 @@ struct ALCcontext_struct {
ALCdevice *Device;
const ALCchar *ExtensionList;
- ALCcontext *volatile next;
+ ATOMIC(ALCcontext*) next;
/* Memory space used by the listener (and possibly default effect slot) */
alignas(16) ALCbyte _listener_mem[];