(svn r13292) -Fix (r13285): MSVC warnings
authorglx
Tue, 27 May 2008 16:56:58 +0000
changeset 9382 c25c7eb89d16
parent 9381 3a8c7f0221bb
child 9383 33dc56cea391
(svn r13292) -Fix (r13285): MSVC warnings
src/station_gui.cpp
--- a/src/station_gui.cpp	Tue May 27 15:30:51 2008 +0000
+++ b/src/station_gui.cpp	Tue May 27 16:56:58 2008 +0000
@@ -97,7 +97,7 @@
 
 	/* 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 @@
 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,