SITL: correctly cast types for MegaSquirt error format string

`uint32_t` is `unsigned long int`, not `unsigned int`.
This commit is contained in:
ARg 2024-09-11 11:56:18 +02:00 committed by Peter Barker
parent 8204ff4d7c
commit eb283ce607

View File

@ -107,7 +107,7 @@ void EFI_MegaSquirt::update()
if (crc == crc2) {
send_table();
} else {
printf("BAD EFI CRC: 0x%08x 0x%08x\n", crc, crc2);
printf("BAD EFI CRC: 0x%08x 0x%08x\n", (unsigned int)crc, (unsigned int)crc2);
}
ofs = 0;
}