aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-11-06 02:23:42 -0800
committerChris Robinson <[email protected]>2015-11-06 02:23:42 -0800
commitd6f4e5139f1305d7cf0ff829f158f1576cb76ddd (patch)
tree3b1b05cb7888b0a840b78e170f7ffa1253650cd4
parent368f2d6907e6f6a670b168b1cfc1c0d7f9de452a (diff)
Add another cast for MSVC
-rw-r--r--Alc/backends/mmdevapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c
index 113af039..e8563d33 100644
--- a/Alc/backends/mmdevapi.c
+++ b/Alc/backends/mmdevapi.c
@@ -1699,7 +1699,7 @@ static void ALCmmdevCapture_stopProxy(ALCmmdevCapture *self)
ALuint ALCmmdevCapture_availableSamples(ALCmmdevCapture *self)
{
- return ll_ringbuffer_read_space(self->Ring);
+ return (ALuint)ll_ringbuffer_read_space(self->Ring);
}
ALCenum ALCmmdevCapture_captureSamples(ALCmmdevCapture *self, ALCvoid *buffer, ALCuint samples)