From 382c45120bd1b3c1e4834983445e1d45f5695bc7 Mon Sep 17 00:00:00 2001 From: glx Date: Tue, 27 May 2008 16:56:58 +0000 Subject: (svn r13292) -Fix (r13285): MSVC warnings --- src/station_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 0d8f481d9..c60af1aef 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -97,7 +97,7 @@ protected: /* Constants for sorting stations */ static const StringID sorter_names[]; - static const GUIStationList::SortFunction *const sorter_funcs[]; + static GUIStationList::SortFunction *const sorter_funcs[]; GUIStationList stations; @@ -543,7 +543,7 @@ uint32 PlayerStationsWindow::cargo_filter = UINT32_MAX; const Station *PlayerStationsWindow::last_station = NULL; /* Availible station sorting functions */ -const GUIStationList::SortFunction *const PlayerStationsWindow::sorter_funcs[] = { +GUIStationList::SortFunction *const PlayerStationsWindow::sorter_funcs[] = { &StationNameSorter, &StationTypeSorter, &StationWaitingSorter, -- cgit v1.2.3-70-g09d2