(svn r4265) - Fix: compile warning on VS2005 (parameter 2 different from declaration)

This commit is contained in:
Darkvater 2006-04-03 18:11:42 +00:00
parent 857ccb97c9
commit fc68881906
4 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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;

View File

@ -1243,7 +1243,7 @@ static int32 RemoveRailroadStation(Station *st, TileIndex tile, uint32 flags)
return cost;
}
int32 DoConvertStationRail(TileIndex tile, uint totype, bool exec)
int32 DoConvertStationRail(TileIndex tile, RailType totype, bool exec)
{
const Station* st = GetStationByTile(tile);

View File

@ -716,7 +716,7 @@ static int32 ClearTile_TunnelBridge(TileIndex tile, byte flags)
return CMD_ERROR;
}
int32 DoConvertTunnelBridgeRail(TileIndex tile, uint totype, bool exec)
int32 DoConvertTunnelBridgeRail(TileIndex tile, RailType totype, bool exec)
{
TileIndex endtile;
uint length;