diff options
author | Chris Robinson <[email protected]> | 2017-04-14 17:47:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-04-14 17:47:55 -0700 |
commit | f94fa5d5cfb78ab5438a53b2ad17f033660103c9 (patch) | |
tree | 51e9f2b06bb77389fb6237917a2f7462402c8cab /Alc/backends/oss.c | |
parent | 9e60eea93b029f1c2d2e394e2352b86cd7c65d12 (diff) |
Use separate atomic macros for pointers
Diffstat (limited to 'Alc/backends/oss.c')
-rw-r--r-- | Alc/backends/oss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/oss.c b/Alc/backends/oss.c index 6774a789..33ea55eb 100644 --- a/Alc/backends/oss.c +++ b/Alc/backends/oss.c @@ -491,7 +491,7 @@ static void ALCplaybackOSS_stop(ALCplaybackOSS *self) { int res; - if(ATOMIC_EXCHANGE_SEQ(ALenum, &self->killNow, AL_TRUE)) + if(ATOMIC_EXCHANGE_SEQ(&self->killNow, AL_TRUE)) return; althrd_join(self->thread, &res); @@ -745,7 +745,7 @@ static void ALCcaptureOSS_stop(ALCcaptureOSS *self) { int res; - if(ATOMIC_EXCHANGE_SEQ(ALenum, &self->killNow, AL_TRUE)) + if(ATOMIC_EXCHANGE_SEQ(&self->killNow, AL_TRUE)) return; althrd_join(self->thread, &res); |