From 1405801595d8c6bac141d8980aad9e65e5421cea Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 26 Jul 2017 19:56:31 +0900 Subject: [PATCH] AP_Arming: minor variable type change no functional change --- 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 3918a1450b..5e209d5840 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -398,7 +398,7 @@ bool AP_Arming::battery_checks(bool report) return false; } - for (int i = 0; i < _battery.num_instances(); i++) { + for (uint8_t i = 0; i < _battery.num_instances(); i++) { if ((_min_voltage[i] > 0.0f) && (_battery.voltage(i) < _min_voltage[i])) { if (report) { gcs().send_text(MAV_SEVERITY_CRITICAL, "PreArm: Battery %d voltage %.1f below minimum %.1f",