diff --git a/ArduPlane/Parameters.cpp b/ArduPlane/Parameters.cpp index 270d0ab5a0..e7b130e333 100644 --- a/ArduPlane/Parameters.cpp +++ b/ArduPlane/Parameters.cpp @@ -1277,6 +1277,6 @@ void Plane::load_parameters(void) // Load all auto-loaded EEPROM variables AP_Param::load_all(); AP_Param::convert_old_parameters(&conversion_table[0], ARRAY_SIZE(conversion_table)); - cliSerial->printf("load_all took %uus\n", micros() - before); + cliSerial->printf("load_all took %uus\n", (unsigned)(micros() - before)); } } diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index 18b4c509bb..8718760532 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -81,7 +81,7 @@ void Plane::init_ardupilot() cliSerial->printf("\n\nInit " FIRMWARE_STRING "\n\nFree RAM: %u\n", - hal.util->available_memory()); + (unsigned)hal.util->available_memory()); //