summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-01 13:55:09 -0500
committerXANTRONIX Development2022-02-01 13:55:09 -0500
commitd512e7c6b2699cfe0c088b36fd8d8c390b2a234f (patch)
tree742936b032572f947f474fc00575cd280f58d1e8 /src
parentc801d7da7935731dd71fde695eb8ee8419c71d03 (diff)
downloadxas-d512e7c6b2699cfe0c088b36fd8d8c390b2a234f.tar.gz
xas-d512e7c6b2699cfe0c088b36fd8d8c390b2a234f.tar.bz2
xas-d512e7c6b2699cfe0c088b36fd8d8c390b2a234f.zip
Fix incompatible function declaration
Diffstat (limited to 'src')
-rw-r--r--src/riff.c8
1 files 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;