diff --git a/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.cpp b/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.cpp index 7a04198bc277..7ad137c8be0d 100644 --- a/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.cpp +++ b/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.cpp @@ -105,7 +105,7 @@ void InternalCombustionEngineControl::Run() const float throttle_in = actuator_motors.control[0]; - switch (_param_ice_on_source.get()) { + switch (static_cast(_param_ice_on_source.get())) { case ICESource::None: user_request = UserOnOffRequest::Off; break;