summaryrefslogtreecommitdiff
path: root/tunnelbridge_cmd.c
diff options
context:
space:
mode:
authorhackykid <hackykid@openttd.org>2005-06-01 11:52:44 +0000
committerhackykid <hackykid@openttd.org>2005-06-01 11:52:44 +0000
commit2f1a224ea9ff26a3633c1ce2aba427538c3a0d06 (patch)
tree85ffc0991699f19e38f7e937f8b493274594c341 /tunnelbridge_cmd.c
parent799e1f5c50662cfa334e2b759925badf70bf5b0d (diff)
downloadopenttd-2f1a224ea9ff26a3633c1ce2aba427538c3a0d06.tar.xz
(svn r2390) - Codechange: Fix some warnings on GCC 4.0.0
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r--tunnelbridge_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c
index 3fd0c92ca..b489f43a7 100644
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -1153,7 +1153,7 @@ static uint GetSlopeZ_TunnelBridge(TileInfo *ti) {
uint y = ti->y & 0xF;
// swap directions if Y tunnel/bridge to let the code handle the X case only.
- if (ti->map5 & 1) intswap(x,y);
+ if (ti->map5 & 1) uintswap(x,y);
// to the side of the tunnel/bridge?
if (IS_INT_INSIDE(y, 5, 10+1)) {