summaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c
diff options
context:
space:
mode:
Diffstat (limited to '4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c')
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c6
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;