aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/winmm.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-11 10:55:35 -0800
committerChris Robinson <[email protected]>2018-01-11 10:55:35 -0800
commit2873abcbc056ca2123382b2b1e08b8bd94d608a4 (patch)
treedfaaa84add6095c352acc1086b1a0c22899777cd /Alc/backends/winmm.c
parente89c183231d26770f4c8ae80a8d05063c34cf0c9 (diff)
Fix up some types for MSVC
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);
}