(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
authorglx
Fri, 28 Sep 2007 16:05:40 +0000
changeset 8144 108caca4f232
parent 8143 f03f8a352866
child 8145 19efa5646e94
(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;