aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/winmm.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 /Alc/backends/winmm.cpp
parentc01743fe5df8ba4778950176ea38d95c65f25309 (diff)
Make ll_ringbuffer_write/read take void*/const void*
Diffstat (limited to 'Alc/backends/winmm.cpp')
-rw-r--r--Alc/backends/winmm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/winmm.cpp b/Alc/backends/winmm.cpp
index 9da3e4c3..f17b5d1f 100644
--- a/Alc/backends/winmm.cpp
+++ b/Alc/backends/winmm.cpp
@@ -653,7 +653,7 @@ void ALCwinmmCapture_stop(ALCwinmmCapture *self)
ALCenum ALCwinmmCapture_captureSamples(ALCwinmmCapture *self, ALCvoid *buffer, ALCuint samples)
{
- ll_ringbuffer_read(self->Ring, static_cast<char*>(buffer), samples);
+ ll_ringbuffer_read(self->Ring, buffer, samples);
return ALC_NO_ERROR;
}