(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
authorglx
Fri, 28 Sep 2007 16:05:40 +0000
changeset 7648 c3f25e9f71e4
parent 7647 6a1162b442ce
child 7649 c4e93cf27732
(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
src/newgrf_config.cpp
--- a/src/newgrf_config.cpp	Fri Sep 28 00:34:10 2007 +0000
+++ b/src/newgrf_config.cpp	Fri Sep 28 16:05:40 2007 +0000
@@ -377,7 +377,7 @@
  * @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;