summaryrefslogtreecommitdiff
path: root/src/newgrf_config.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-09-28 16:05:40 +0000
committerglx <glx@openttd.org>2007-09-28 16:05:40 +0000
commitab886349ab26ec4e7bb6dfcbbda741105e1976d4 (patch)
treecbb89bb962e0a3c4a73d61c3828572d26160aeb6 /src/newgrf_config.cpp
parent9613a9988cc0ed3209d3b3a89952d9e9e04226f5 (diff)
downloadopenttd-ab886349ab26ec4e7bb6dfcbbda741105e1976d4.tar.xz
(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r--src/newgrf_config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp
index 9f952a4e8..3a4c0cb44 100644
--- a/src/newgrf_config.cpp
+++ b/src/newgrf_config.cpp
@@ -377,7 +377,7 @@ static uint ScanTar(TarFileList::iterator tar)
* @param p2 the second GRFConfig *
* @return the same strcmp would return for the name of the NewGRF.
*/
-static int GRFSorter(const void *p1, const void *p2)
+static int CDECL GRFSorter(const void *p1, const void *p2)
{
const GRFConfig *c1 = *(const GRFConfig **)p1;
const GRFConfig *c2 = *(const GRFConfig **)p2;