aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-19 04:11:21 -0800
committerChris Robinson <[email protected]>2018-11-19 04:11:21 -0800
commita14f39ea06a458e6b3b70e0428264967847da7f4 (patch)
tree9177828a3223568349a7e1b9e01560b7a45d181d /OpenAL32/alSource.cpp
parentc01743fe5df8ba4778950176ea38d95c65f25309 (diff)
Make ll_ringbuffer_write/read take void*/const void*
Diffstat (limited to 'OpenAL32/alSource.cpp')
-rw-r--r--OpenAL32/alSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp
index 539a5f4f..39f70ab5 100644
--- a/OpenAL32/alSource.cpp
+++ b/OpenAL32/alSource.cpp
@@ -249,7 +249,7 @@ static void SendStateChangeEvent(ALCcontext *context, ALuint id, ALenum state)
* and we don't want state change messages to occur out of order, so send
* it through the async queue to ensure proper ordering.
*/
- if(ll_ringbuffer_write(context->AsyncEvents, (const char*)&evt, 1) == 1)
+ if(ll_ringbuffer_write(context->AsyncEvents, &evt, 1) == 1)
alsem_post(&context->EventSem);
}