Plane: fixed two build warnings with clang

This commit is contained in:
Andrew Tridgell 2015-12-29 18:52:00 +11:00
parent 97022a4161
commit 7a5808276e
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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());
//