From c0e174c085478e8bcea1a31d527df6e58f7448d1 Mon Sep 17 00:00:00 2001 From: Thierry Bultel Date: Fri, 29 Jun 2018 15:52:46 +0200 Subject: Fixed compilation warnings Fixed all the compilation warning that appeared with the latest version of gcc. There are still warnings in the gstreamer headers, that would likely be fixed by a gstreamer bump. Change-Id: I3ae7698dbff47303be366d9755a643a013bb4e51 Signed-off-by: Thierry Bultel --- binding/radio_output_gstreamer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'binding/radio_output_gstreamer.c') diff --git a/binding/radio_output_gstreamer.c b/binding/radio_output_gstreamer.c index 698b81b..f492bb5 100644 --- a/binding/radio_output_gstreamer.c +++ b/binding/radio_output_gstreamer.c @@ -160,9 +160,9 @@ void radio_output_close(void) output_buf = NULL; } -int radio_output_write(void *buf, int len) +ssize_t radio_output_write(void *buf, int len) { - int rc = -EINVAL; + ssize_t rc = -EINVAL; size_t n = len; int samples = len / 2; unsigned char *p; -- cgit 1.2.3-korg