From b9729fb72ef38d39eac4fdbe00c50efe4b0fe0d2 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 15 Nov 2005 09:00:02 +0000 Subject: (svn r3185) const --- station_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'station_cmd.c') diff --git a/station_cmd.c b/station_cmd.c index 2c98db257..fe98f0aa5 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -151,9 +151,9 @@ RoadStop *AllocateRoadStop(void) /* Calculate the radius of the station. Basicly it is the biggest radius that is available within the station */ -static byte FindCatchmentRadius(Station *st) +static uint FindCatchmentRadius(const Station* st) { - byte ret = 0; + uint ret = 0; if (st->bus_stops != NULL) ret = max(ret, CA_BUS); if (st->truck_stops != NULL) ret = max(ret, CA_TRUCK); -- cgit v1.2.3-54-g00ecf