diff --git a/Tools/AP_Bootloader/bl_protocol.cpp b/Tools/AP_Bootloader/bl_protocol.cpp index 5bc0df7b28..9b505664d6 100644 --- a/Tools/AP_Bootloader/bl_protocol.cpp +++ b/Tools/AP_Bootloader/bl_protocol.cpp @@ -422,23 +422,23 @@ static void test_flash() } uint32_t num_writes = flash_func_sector_size(page) / sizeof(v); uprintf("page %u size %u addr=0x%08x v=0x%08x\n", - page, flash_func_sector_size(page), addr, v[0]); delay(10); + unsigned(page), unsigned(flash_func_sector_size(page)), unsigned(addr), unsigned(v[0])); delay(10); if (init_done) { for (uint32_t j=0; j