From 20f2bc3138b6df2fb3fcb2ecca2144f4ac3a3755 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-54-g00ecf