summaryrefslogtreecommitdiff
path: root/road_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 /road_cmd.c
parent857ccb97c9731ab2cabed09641d2a7b4139feb05 (diff)
downloadopenttd-fc68881906f4a750d2f713699754d6c5289b80a4.tar.xz
(svn r4265) - Fix: compile warning on VS2005 (parameter 2 different from declaration)
Diffstat (limited to 'road_cmd.c')
-rw-r--r--road_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c
index fc603c7e3..2614c842c 100644
--- a/road_cmd.c
+++ b/road_cmd.c
@@ -419,7 +419,7 @@ do_clear:;
return cost;
}
-int32 DoConvertStreetRail(TileIndex tile, uint totype, bool exec)
+int32 DoConvertStreetRail(TileIndex tile, RailType totype, bool exec)
{
// not a railroad crossing?
if (!IsLevelCrossing(tile)) return CMD_ERROR;