summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-01 15:07:31 +0000
committerrubidium <rubidium@openttd.org>2008-08-01 15:07:31 +0000
commitad36ea6b29f42d33e1600a131b0cbea615899272 (patch)
tree576a694ab2c4d476304db029d7a6e392d43aa596 /src/station_cmd.cpp
parent7c0b1172e1e793d9674f5e69cf17c1f202b99369 (diff)
downloadopenttd-ad36ea6b29f42d33e1600a131b0cbea615899272.tar.xz
(svn r13912) -Codechange: remove some casts by returning the proper type instead of void*.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 95c8ae5e7..53ad81fc7 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -1419,7 +1419,7 @@ CommandCost CmdBuildRoadStop(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
}
-static void *ClearRoadStopStatusEnum(Vehicle *v, void *)
+static Vehicle *ClearRoadStopStatusEnum(Vehicle *v, void *)
{
if (v->type == VEH_ROAD) ClrBit(v->u.road.state, RVS_IN_DT_ROAD_STOP);