(svn r2390) - Codechange: Fix some warnings on GCC 4.0.0

This commit is contained in:
hackykid
2005-06-01 11:52:44 +00:00
parent 351d7aaa9f
commit f7dcd2e834
10 changed files with 18 additions and 12 deletions

View File

@@ -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)) {