diff --git a/src/modules/land_detector/LandDetector.cpp b/src/modules/land_detector/LandDetector.cpp index 579ed3224e5b..e597eac039f3 100644 --- a/src/modules/land_detector/LandDetector.cpp +++ b/src/modules/land_detector/LandDetector.cpp @@ -190,7 +190,7 @@ void LandDetector::_update_state() void LandDetector::_update_total_flight_time() { _total_flight_time = static_cast(_param_total_flight_time_high.get()) << 32; - _total_flight_time |= _param_total_flight_time_low.get(); + _total_flight_time |= static_cast(_param_total_flight_time_low.get()); } } // namespace land_detector