Browse Source

AP_HAL_SITL: correct format string

zr-v5.1
Peter Barker 5 years ago committed by Andrew Tridgell
parent
commit
b0f3c89939
  1. 2
      libraries/AP_HAL_SITL/SITL_State.cpp

2
libraries/AP_HAL_SITL/SITL_State.cpp

@ -279,7 +279,7 @@ bool SITL_State::_read_rc_sitl_input() @@ -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;
}

Loading…
Cancel
Save