diff options
author | smatz <smatz@openttd.org> | 2008-06-26 00:40:42 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-06-26 00:40:42 +0000 |
commit | 6f3b1745c2c6c38c1642013fed627d61efa0f818 (patch) | |
tree | 47c306002f38d21877494ff6c79f045f51d440f5 /src | |
parent | 556e8ade9a183d62e98e570f3d1c0e52d5435aa4 (diff) | |
download | openttd-6f3b1745c2c6c38c1642013fed627d61efa0f818.tar.xz |
(svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2
Diffstat (limited to 'src')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index 5ceb36c44..47d7fcbc0 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -163,7 +163,7 @@ static CommandCost CheckBridgeSlopeSouth(Axis axis, Slope *tileh, uint *z) bool CheckBridge_Stuff(BridgeType bridge_type, uint bridge_len, uint32 flags) { if (flags & DC_QUERY_COST) { - return bridge_len <= (_settings_game.construction.longbridges ? 100 : 16); + return bridge_len <= (_settings_game.construction.longbridges ? 100U : 16U); } if (bridge_type >= MAX_BRIDGES) return false; |