From 587b2a8826274242e400124eb5bb8704a046ff81 Mon Sep 17 00:00:00 2001 From: truelight Date: Sat, 26 Aug 2006 18:27:15 +0000 Subject: (svn r6150) -Codechange: introduced and used RoadStopID where needed --- station_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'station_cmd.c') diff --git a/station_cmd.c b/station_cmd.c index 135081c6d..469d6ce81 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -153,7 +153,7 @@ RoadStop *AllocateRoadStop(void) * TODO - This is just a temporary stage, this will be removed. */ for (rs = GetRoadStop(0); rs != NULL; rs = (rs->index + 1 < GetRoadStopPoolSize()) ? GetRoadStop(rs->index + 1) : NULL) { if (!IsValidRoadStop(rs)) { - uint index = rs->index; + RoadStopID index = rs->index; memset(rs, 0, sizeof(*rs)); rs->index = index; -- cgit v1.2.3-70-g09d2