diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-03 19:01:20 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-08 15:51:00 +0200 |
commit | 718a285d131121e60ed1e619ee05e03063cf9e61 (patch) | |
tree | 294535f1185e854ccf7e65a053156870d9c8a6f4 /4a-hal | |
parent | eb4967fcc8278bcd994eb2ce16bf0042b4d8598c (diff) |
Add some missing cast
Add some missing cast when getting controller hal data structure.
Change-Id: I8fdfd7486345e89c4004c071b63890b751305ce2
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c index 90b4940..9b4ba26 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c @@ -102,7 +102,7 @@ void HalCtlsActionOnStream(afb_request *request) return; } - currentCtlHalData = ctrlConfig->external; + currentCtlHalData = (struct SpecificHalData *) ctrlConfig->external; if(! currentCtlHalData) { afb_request_fail(request, "hal_controller_data", "Can't get current hal controller data"); return; @@ -176,7 +176,7 @@ void HalCtlsListVerbs(afb_request *request) return; } - currentCtlHalData = ctrlConfig->external; + currentCtlHalData = (struct SpecificHalData *) ctrlConfig->external; if(! currentCtlHalData) { afb_request_fail(request, "hal_controller_data", "Can't get current hal controller data"); return; @@ -239,7 +239,7 @@ void HalCtlsInitMixer(afb_request *request) return; } - currentCtlHalData = ctrlConfig->external; + currentCtlHalData = (struct SpecificHalData *) ctrlConfig->external; if(! currentCtlHalData) { afb_request_fail(request, "hal_controller_data", "Can't get current hal controller data"); return; |