diff options
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); } |