summaryrefslogtreecommitdiff
path: root/rail_cmd.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-04-03 18:11:42 +0000
committerDarkvater <darkvater@openttd.org>2006-04-03 18:11:42 +0000
commitfc68881906f4a750d2f713699754d6c5289b80a4 (patch)
tree9d1dc789493e054d1aa0d21548ba15f167efa310 /rail_cmd.c
parent857ccb97c9731ab2cabed09641d2a7b4139feb05 (diff)
downloadopenttd-fc68881906f4a750d2f713699754d6c5289b80a4.tar.xz
(svn r4265) - Fix: compile warning on VS2005 (parameter 2 different from declaration)
Diffstat (limited to 'rail_cmd.c')
-rw-r--r--rail_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rail_cmd.c b/rail_cmd.c
index 092ed6f77..a3124570c 100644
--- a/rail_cmd.c
+++ b/rail_cmd.c
@@ -916,9 +916,9 @@ static int32 DoConvertRail(TileIndex tile, RailType totype, bool exec)
return _price.build_rail / 2;
}
-extern int32 DoConvertStationRail(TileIndex tile, uint totype, bool exec);
-extern int32 DoConvertStreetRail(TileIndex tile, uint totype, bool exec);
-extern int32 DoConvertTunnelBridgeRail(TileIndex tile, uint totype, bool exec);
+extern int32 DoConvertStationRail(TileIndex tile, RailType totype, bool exec);
+extern int32 DoConvertStreetRail(TileIndex tile, RailType totype, bool exec);
+extern int32 DoConvertTunnelBridgeRail(TileIndex tile, RailType totype, bool exec);
/** Convert one rail type to the other. You can convert normal rail to
* monorail/maglev easily or vice-versa.