aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/winmm.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/winmm.c')
-rw-r--r--Alc/backends/winmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/winmm.c b/Alc/backends/winmm.c
index 4e4d0c06..0fcab458 100644
--- a/Alc/backends/winmm.c
+++ b/Alc/backends/winmm.c
@@ -708,7 +708,7 @@ static ALCenum ALCwinmmCapture_captureSamples(ALCwinmmCapture *self, ALCvoid *bu
static ALCuint ALCwinmmCapture_availableSamples(ALCwinmmCapture *self)
{
- return ll_ringbuffer_read_space(self->Ring);
+ return (ALCuint)ll_ringbuffer_read_space(self->Ring);
}