From 2f1a224ea9ff26a3633c1ce2aba427538c3a0d06 Mon Sep 17 00:00:00 2001 From: hackykid Date: Wed, 1 Jun 2005 11:52:44 +0000 Subject: (svn r2390) - Codechange: Fix some warnings on GCC 4.0.0 --- tunnelbridge_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tunnelbridge_cmd.c') 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)) { -- cgit v1.2.3-54-g00ecf