diff options
author | Chris Robinson <[email protected]> | 2015-11-06 02:23:42 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-11-06 02:23:42 -0800 |
commit | d6f4e5139f1305d7cf0ff829f158f1576cb76ddd (patch) | |
tree | 3b1b05cb7888b0a840b78e170f7ffa1253650cd4 /Alc/backends | |
parent | 368f2d6907e6f6a670b168b1cfc1c0d7f9de452a (diff) |
Add another cast for MSVC
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/mmdevapi.c | 2 |
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) |