AP_FlashStorage: fixed build warning

This commit is contained in:
Andrew Tridgell 2018-05-04 11:41:27 +10:00
parent 7cff648f8a
commit 14cf54b2f0
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ void FlashTest::setup(void)
if (erase_ok) {
if (memcmp(mem_buffer, mem_mirror, sizeof(mem_buffer)) != 0) {
AP_HAL::panic("FATAL: data mis-match at i=%u", i);
AP_HAL::panic("FATAL: data mis-match at i=%u", (unsigned)i);
}
}
}