diff options
author | XANTRONIX Development | 2022-02-01 13:55:09 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-01 13:55:09 -0500 |
commit | d512e7c6b2699cfe0c088b36fd8d8c390b2a234f (patch) | |
tree | 742936b032572f947f474fc00575cd280f58d1e8 | |
parent | c801d7da7935731dd71fde695eb8ee8419c71d03 (diff) | |
download | xas-d512e7c6b2699cfe0c088b36fd8d8c390b2a234f.tar.gz xas-d512e7c6b2699cfe0c088b36fd8d8c390b2a234f.tar.bz2 xas-d512e7c6b2699cfe0c088b36fd8d8c390b2a234f.zip |
Fix incompatible function declaration
-rw-r--r-- | src/riff.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |