From b727f93bbcbd4aec82ecd8a99f3da8de34ad4744 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 2 Oct 2008 22:48:52 +0000 Subject: (svn r14434) -Fix (r14432): compile warning. --- src/rail_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index ee0e09664..bc1066c91 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -2399,8 +2399,8 @@ static void GetTileDesc_Track(TileIndex tile, TileDesc *td) } }; - uint primary_signal; - uint secondary_signal; + SignalType primary_signal; + SignalType secondary_signal; if (HasSignalOnTrack(tile, TRACK_UPPER)) { primary_signal = GetSignalType(tile, TRACK_UPPER); secondary_signal = HasSignalOnTrack(tile, TRACK_LOWER) ? GetSignalType(tile, TRACK_LOWER) : primary_signal; -- cgit v1.2.3-70-g09d2