AP_Arming: resolve check_failed compiler warning

This commit is contained in:
Randy Mackay 2019-08-07 15:27:16 +09:00
parent bf0a947317
commit 2bfc26621a

View File

@ -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;
}