diff options
author | rubidium <rubidium@openttd.org> | 2013-11-24 15:17:53 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-11-24 15:17:53 +0000 |
commit | 2fc10b7e040f9901ba46313eed5ffd2166fedabd (patch) | |
tree | 0119e1f50352f71eca6915d75be653689a71311b /src | |
parent | 3eecd246eb596b34daa50f23472faa1b1f77c0ee (diff) | |
download | openttd-2fc10b7e040f9901ba46313eed5ffd2166fedabd.tar.xz |
(svn r26088) -Fix (r26086): Windows compilation
Diffstat (limited to 'src')
-rw-r--r-- | src/rail_gui.cpp | 2 | ||||
-rw-r--r-- | src/widgets/dropdown_type.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index bac1b3bd1..c4fad3414 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -1941,7 +1941,7 @@ void InitializeRailGUI() * @param second The railtype to compare. * @return True iff the first should be sorted before the second. */ -static CDECL int CompareRailTypes(const DropDownListItem * const *first, const DropDownListItem * const *second) +static int CDECL CompareRailTypes(const DropDownListItem * const *first, const DropDownListItem * const *second) { return GetRailTypeInfo((RailType)(*first)->result)->sorting_order - GetRailTypeInfo((RailType)(*second)->result)->sorting_order; } diff --git a/src/widgets/dropdown_type.h b/src/widgets/dropdown_type.h index 90ecef1fb..b65d4557b 100644 --- a/src/widgets/dropdown_type.h +++ b/src/widgets/dropdown_type.h @@ -50,7 +50,7 @@ public: virtual void Draw(int left, int right, int top, int bottom, bool sel, int bg_colour) const; virtual StringID String() const { return this->string; } - static CDECL int NatSortFunc(const DropDownListItem * const *first, const DropDownListItem * const *second); + static int CDECL NatSortFunc(const DropDownListItem * const *first, const DropDownListItem * const *second); }; /** |