(svn r2890) Fix some signed/unsigned comparison warnings (tokai)

This commit is contained in:
tron
2005-08-25 16:53:51 +00:00
parent 51c2ef8685
commit f914a7eca6
2 changed files with 3 additions and 3 deletions

View File

@@ -912,7 +912,7 @@ static bool AircraftController(Vehicle *v)
dist = myabs(x + amd->x - v->x_pos) + myabs(y + amd->y - v->y_pos);
// Need exact position?
if (!(amd->flag & AMED_EXACTPOS) && dist <= (amd->flag & AMED_SLOWTURN ? 8 : 4))
if (!(amd->flag & AMED_EXACTPOS) && dist <= (amd->flag & AMED_SLOWTURN ? 8U : 4U))
return true;
// At final pos?