summaryrefslogtreecommitdiff
path: root/road_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-09 21:25:44 +0000
committertron <tron@openttd.org>2005-01-09 21:25:44 +0000
commit4450ff105c6ddb9ab855b9cf8b4dcbea315b11e0 (patch)
tree3a16c9375ca0fbd2f06a419b1b0876bf48c7a3e0 /road_cmd.c
parentd2e02df8814edab9e04437d8208d2e7786dfd999 (diff)
downloadopenttd-4450ff105c6ddb9ab855b9cf8b4dcbea315b11e0.tar.xz
(svn r1451) Fix some of the signed/unsigned comparison warnings
Diffstat (limited to 'road_cmd.c')
-rw-r--r--road_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c
index c7ea7d08e..2c6c56d4b 100644
--- a/road_cmd.c
+++ b/road_cmd.c
@@ -399,7 +399,7 @@ int32 CmdBuildRoad(int x, int y, uint32 flags, uint32 p1, uint32 p2)
goto do_clear;
/* only allow roads pertendicular to bridge */
- if ((pieces & 5) == (ti.map5 & 0x01))
+ if ((pieces & 5U) == (ti.map5 & 0x01U))
goto do_clear;
/* check if clear land under bridge */