From d6f4e5139f1305d7cf0ff829f158f1576cb76ddd Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 6 Nov 2015 02:23:42 -0800 Subject: Add another cast for MSVC --- Alc/backends/mmdevapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/backends') 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) -- cgit v1.2.3