From 154fe15c6750cafa56b6fb53702d48670882c0bc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Apr 2016 09:22:41 +1000 Subject: [PATCH] Plane: fixed build warning --- ArduPlane/quadplane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/quadplane.cpp b/ArduPlane/quadplane.cpp index 93de8565fd..b2494b5938 100644 --- a/ArduPlane/quadplane.cpp +++ b/ArduPlane/quadplane.cpp @@ -1126,7 +1126,7 @@ void QuadPlane::control_auto(const Location &loc) land_state = QLAND_POSITION2; wp_nav->init_loiter_target(); plane.gcs_send_text_fmt(MAV_SEVERITY_INFO,"Land position2 started v=%.1f d=%.1f", - ahrs.groundspeed(), plane.auto_state.wp_distance); + (double)ahrs.groundspeed(), (double)plane.auto_state.wp_distance); } } else if (plane.mission.get_current_nav_cmd().id == MAV_CMD_NAV_VTOL_LAND) { /*