diff options
author | Chris Robinson <[email protected]> | 2018-11-19 04:11:21 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-19 04:11:21 -0800 |
commit | a14f39ea06a458e6b3b70e0428264967847da7f4 (patch) | |
tree | 9177828a3223568349a7e1b9e01560b7a45d181d /Alc/mixvoice.cpp | |
parent | c01743fe5df8ba4778950176ea38d95c65f25309 (diff) |
Make ll_ringbuffer_write/read take void*/const void*
Diffstat (limited to 'Alc/mixvoice.cpp')
-rw-r--r-- | Alc/mixvoice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixvoice.cpp b/Alc/mixvoice.cpp index f89b6efa..c83fb8a7 100644 --- a/Alc/mixvoice.cpp +++ b/Alc/mixvoice.cpp @@ -201,7 +201,7 @@ static void SendAsyncEvent(ALCcontext *context, ALuint enumtype, ALenum type, evt.u.user.id = objid; evt.u.user.param = param; strcpy(evt.u.user.msg, msg); - if(ll_ringbuffer_write(context->AsyncEvents, (const char*)&evt, 1) == 1) + if(ll_ringbuffer_write(context->AsyncEvents, &evt, 1) == 1) alsem_post(&context->EventSem); } |