From 930d22daf9a396b72b03b6efd3652cb48d840fbd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 4 May 2018 11:41:05 +1000 Subject: [PATCH] AP_SmartRTL: fixed build warning --- libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp b/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp index bc5c2ff8f1..3d57f2c9e1 100644 --- a/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp +++ b/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp @@ -110,7 +110,7 @@ void check_path(const std::vector& correct_path, const char* test_name } // display overall results - hal.console->printf("%s: %s time:%u us\n", test_name, (num_points_match && points_match) ? "success" : "fail", time_us); + hal.console->printf("%s: %s time:%u us\n", test_name, (num_points_match && points_match) ? "success" : "fail", (unsigned)time_us); // display number of points hal.console->printf(" expected %u points, got %u\n", (unsigned)correct_path.size(), (unsigned)smart_rtl.get_num_points());