mirror of https://github.com/ArduPilot/ardupilot
Arduplane: Fixed unsigned int comparison warning
This commit is contained in:
parent
c9d3ab5413
commit
e574f3c8cf
|
@ -452,7 +452,7 @@ static void do_within_distance()
|
|||
|
||||
static bool verify_wait_delay()
|
||||
{
|
||||
if (millis() - condition_start > condition_value){
|
||||
if ((unsigned)(millis() - condition_start) > (unsigned)condition_value){
|
||||
condition_value = 0;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue