summaryrefslogtreecommitdiff
path: root/src
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
commit382c45120bd1b3c1e4834983445e1d45f5695bc7 (patch)
tree1107d2819ec61bc3f76d00ad465c71c6b105aef5 /src
parent44dd8955d16c08054887879b6ac0ae6adc60cdcb (diff)
downloadopenttd-382c45120bd1b3c1e4834983445e1d45f5695bc7.tar.xz
(svn r13292) -Fix (r13285): MSVC warnings
Diffstat (limited to 'src')
-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,