From 767408ffe92d91a0de8cfb6e0999b34ab7206f15 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 27 Jul 2019 11:05:46 +0900 Subject: [PATCH] GCS_MAVLink: resolve gcs::send_text compiler warning --- libraries/GCS_MAVLink/GCS_Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index 6b42793b02..d16697e1ae 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -812,7 +812,7 @@ bool GCS_MAVLINK::set_mavlink_message_id_interval(const uint32_t mavlink_id, { const ap_message id = mavlink_id_to_ap_message_id(mavlink_id); if (id == MSG_LAST) { - gcs().send_text(MAV_SEVERITY_INFO, "No ap_message for mavlink id (%u)", mavlink_id); + gcs().send_text(MAV_SEVERITY_INFO, "No ap_message for mavlink id (%u)", (unsigned int)mavlink_id); return false; } return set_ap_message_interval(id, interval_ms);