From 9f552ae0b357c5e222363dc6401a5bad7422e2d2 Mon Sep 17 00:00:00 2001 From: glx Date: Fri, 28 Sep 2007 16:05:40 +0000 Subject: (svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken --- src/newgrf_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-54-g00ecf