summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-05-27 16:56:58 +0000
committerglx <glx@openttd.org>2008-05-27 16:56:58 +0000
commit20f2bc3138b6df2fb3fcb2ecca2144f4ac3a3755 (patch)
tree1107d2819ec61bc3f76d00ad465c71c6b105aef5
parent0ce9343fb6e4094e68c5b7fd6c74547ff02f2ecb (diff)
downloadopenttd-20f2bc3138b6df2fb3fcb2ecca2144f4ac3a3755.tar.xz
(svn r13292) -Fix (r13285): MSVC warnings
-rw-r--r--src/station_gui.cpp4
1 files 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,