diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-11 20:53:27 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-08 15:52:51 +0200 |
commit | dded1b16dc18bb5b692b58d0e2e303bde7ca0308 (patch) | |
tree | c474d77826f915d62ddf1ba9de2d95a5cce6198f /4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c | |
parent | 2f4d9d83892d6cc32ea329a3d1ae2f003e912b3c (diff) |
Correct some compilation warnings
Correct some compilation warnings that appeared in some gcc versions.
Change-Id: I846c573f3128f7d5d5da8b7d2eb1b63dc61af1ab
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c index 2bddab6..7c493b6 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-value-handler.c @@ -69,7 +69,7 @@ int HalCtlsNormalizeJsonValues(AFB_ApiT apiHandle, struct CtlHalAlsaCtlPropertie switch(json_object_get_type(toConvertJ)) { case json_type_array: - count = json_object_array_length(toConvertJ); + count = (int) json_object_array_length(toConvertJ); break; case json_type_null: |