diff options
author | rubidium <rubidium@openttd.org> | 2008-08-01 15:07:31 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-08-01 15:07:31 +0000 |
commit | ad36ea6b29f42d33e1600a131b0cbea615899272 (patch) | |
tree | 576a694ab2c4d476304db029d7a6e392d43aa596 /src/station_cmd.cpp | |
parent | 7c0b1172e1e793d9674f5e69cf17c1f202b99369 (diff) | |
download | openttd-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.cpp | 2 |
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); |