aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-08-01 02:40:25 -0700
committerChris Robinson <[email protected]>2014-08-01 02:40:25 -0700
commit1c1e878be75d9fae097dab56766ce51229f68477 (patch)
tree7214822a43426eae0052d1ef3d80712b3ea0cd8b /OpenAL32
parent87423f046e378ec5c126cacb808dbc600481dcbd (diff)
Add some casts for inline assembly atomics
And remove an unnecessary void cast
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/alError.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alError.c b/OpenAL32/alError.c
index 875e118a..9369af56 100644
--- a/OpenAL32/alError.c
+++ b/OpenAL32/alError.c
@@ -46,7 +46,7 @@ ALvoid alSetError(ALCcontext *Context, ALenum errorCode)
raise(SIGTRAP);
#endif
}
- (void)ATOMIC_COMPARE_EXCHANGE_STRONG(ALenum, &Context->LastError, &curerr, errorCode);
+ ATOMIC_COMPARE_EXCHANGE_STRONG(ALenum, &Context->LastError, &curerr, errorCode);
}
AL_API ALenum AL_APIENTRY alGetError(void)