From bbf98fae46a469964f94edeb19c9bb13c23e44e6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 5 Nov 2017 21:25:37 +1100 Subject: [PATCH] Plane: fixed a warning --- ArduPlane/tailsitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/tailsitter.cpp b/ArduPlane/tailsitter.cpp index 7d00f87b07..93c27ac38f 100644 --- a/ArduPlane/tailsitter.cpp +++ b/ArduPlane/tailsitter.cpp @@ -151,7 +151,7 @@ bool QuadPlane::tailsitter_transition_fw_complete(void) } if (labs(ahrs_view->pitch_sensor) > tailsitter.transition_angle*100 || roll_cd > tailsitter.transition_angle*100 || - AP_HAL::millis() - transition_start_ms > transition_time_ms) { + AP_HAL::millis() - transition_start_ms > uint32_t(transition_time_ms)) { return true; } // still waiting