Plane: fixed a compiler warning

This commit is contained in:
Andrew Tridgell 2014-03-24 12:52:05 +11:00
parent c6f3e0a81c
commit b8781ccea7

View File

@ -917,7 +917,7 @@ GCS_MAVLINK::update(void)
if (waypoint_receiving &&
waypoint_request_i <= waypoint_request_last &&
tnow - waypoint_timelast_request > 2000 + (stream_slowdown*20)) {
tnow - waypoint_timelast_request > 2000U + (stream_slowdown*20)) {
waypoint_timelast_request = tnow;
send_message(MSG_NEXT_WAYPOINT);
}