diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-06-29 15:52:46 +0200 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-07-17 10:50:07 +0200 |
commit | c0e174c085478e8bcea1a31d527df6e58f7448d1 (patch) | |
tree | 68beae1bb02a202a0793c008892a7c423c430cd9 /binding/radio-binding.c | |
parent | d564d41b640f3ed69e16cc0e2eaf258778191b04 (diff) |
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 <thierry.bultel@iot.bzh>
Diffstat (limited to 'binding/radio-binding.c')
-rw-r--r-- | binding/radio-binding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/radio-binding.c b/binding/radio-binding.c index 4db34db..e1e1763 100644 --- a/binding/radio-binding.c +++ b/binding/radio-binding.c @@ -72,7 +72,7 @@ static void frequency(struct afb_req request) if(value) { char *p; - frequency = strtoul(value, &p, 10); + frequency = (uint32_t) strtoul(value, &p, 10); if(frequency && *p == '\0') { radio_impl_ops->set_frequency(frequency); } else { |