From d512e7c6b2699cfe0c088b36fd8d8c390b2a234f Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 1 Feb 2022 13:55:09 -0500 Subject: Fix incompatible function declaration --- src/riff.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/riff.c b/src/riff.c index 233d2cb..898a2fc 100644 --- a/src/riff.c +++ b/src/riff.c @@ -257,10 +257,10 @@ error_io: return; } -static int audio_drain(xas_riff *riff, - void *samples, - size_t count, - xas_audio_stream *stream) { +static ssize_t audio_drain(xas_riff *riff, + void *samples, + size_t count, + xas_audio_stream *stream) { size_t len = count * stream->sample_size * stream->channels; -- cgit v1.2.3