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 --- rail_gui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rail_gui.c') diff --git a/rail_gui.c b/rail_gui.c index f4f5e4f15..9734c138f 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -627,11 +627,11 @@ static void HandleStationPlacement(uint start, uint end) uint ey = TileY(end); uint w,h; - if (sx > ex) intswap(sx,ex); - if (sy > ey) intswap(sy,ey); + if (sx > ex) uintswap(sx,ex); + if (sy > ey) uintswap(sy,ey); w = ex - sx + 1; h = ey - sy + 1; - if (!_railstation.orientation) intswap(w,h); + if (!_railstation.orientation) uintswap(w,h); // TODO: Custom station selector GUI. Now we just try using first custom station // (and fall back to normal stations if it isn't available). -- cgit v1.2.3-54-g00ecf