diff options
author | Chris Robinson <[email protected]> | 2018-01-11 10:55:35 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-11 10:55:35 -0800 |
commit | 2873abcbc056ca2123382b2b1e08b8bd94d608a4 (patch) | |
tree | dfaaa84add6095c352acc1086b1a0c22899777cd /Alc/backends | |
parent | e89c183231d26770f4c8ae80a8d05063c34cf0c9 (diff) |
Fix up some types for MSVC
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/dsound.c | 2 | ||||
-rw-r--r-- | Alc/backends/winmm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/dsound.c b/Alc/backends/dsound.c index f88a50c1..8a0a30cb 100644 --- a/Alc/backends/dsound.c +++ b/Alc/backends/dsound.c @@ -948,7 +948,7 @@ static ALCuint ALCdsoundCapture_availableSamples(ALCdsoundCapture *self) } done: - return ll_ringbuffer_read_space(self->Ring); + return (ALCuint)ll_ringbuffer_read_space(self->Ring); } 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); } |