summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-25 16:53:51 +0000
committertron <tron@openttd.org>2005-08-25 16:53:51 +0000
commitf914a7eca6de9d29703a556809dd492c24660eaa (patch)
treecba562f31945341052e6645b25edb94ddb835b30 /aircraft_cmd.c
parent51c2ef8685ee73e4a03614699d76001c43d81912 (diff)
downloadopenttd-f914a7eca6de9d29703a556809dd492c24660eaa.tar.xz
(svn r2890) Fix some signed/unsigned comparison warnings (tokai)
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index d37b18e17..147f7e861 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -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?