aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-13 21:30:20 -0800
committerChris Robinson <[email protected]>2017-02-13 21:30:20 -0800
commit69dd57096183c4e381cc3f5c0a8ac4e33048b346 (patch)
tree1a1b2b694987a78007903c487d218d289b57e433 /OpenAL32/Include
parent0d19a209014582f1e77ab3b927dfb1af6c307d66 (diff)
Fix build with non-C11 atomics
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index b9479905..d45e5d9c 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -224,7 +224,7 @@ void UpdateAllSourceProps(ALCcontext *context);
ALvoid SetSourceState(ALsource *Source, ALCcontext *Context, ALenum state);
ALboolean ApplyOffset(ALsource *Source);
-inline ALboolean IsPlayingOrPaused(ALsource *source)
+inline ALboolean IsPlayingOrPaused(const ALsource *source)
{
ALenum state = ATOMIC_LOAD_SEQ(&source->state);
return state == AL_PLAYING || state == AL_PAUSED;