AP_HAL_SITL: correct format string

This commit is contained in:
Peter Barker 2019-10-28 17:05:28 +11:00 committed by Andrew Tridgell
parent 66d460c19b
commit b0f3c89939

View File

@ -279,7 +279,7 @@ bool SITL_State::_read_rc_sitl_input()
return true;
}
default:
fprintf(stderr, "Malformed SITL RC input (%li)", size);
fprintf(stderr, "Malformed SITL RC input (%ld)", (long)size);
}
return false;
}