From 2bfc26621a861f2fae92cf8e50ad2f04716e2082 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 7 Aug 2019 15:27:16 +0900 Subject: [PATCH] AP_Arming: resolve check_failed compiler warning --- libraries/AP_Arming/AP_Arming.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Arming/AP_Arming.cpp b/libraries/AP_Arming/AP_Arming.cpp index a015c7fd75..db343aa122 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -685,7 +685,7 @@ bool AP_Arming::system_checks(bool report) } } if (AP::internalerror().errors() != 0) { - check_failed(ARMING_CHECK_NONE, report, "Internal errors (0x%x)", AP::internalerror().errors()); + check_failed(ARMING_CHECK_NONE, report, "Internal errors (0x%x)", (unsigned int)AP::internalerror().errors()); return false; }