1
0
Fork 0

(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken

release/0.6
glx 2007-09-28 16:05:40 +00:00
parent 1f4889e38a
commit 9f552ae0b3
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ static uint ScanTar(TarFileList::iterator tar)
* @param p2 the second GRFConfig * * @param p2 the second GRFConfig *
* @return the same strcmp would return for the name of the NewGRF. * @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 *c1 = *(const GRFConfig **)p1;
const GRFConfig *c2 = *(const GRFConfig **)p2; const GRFConfig *c2 = *(const GRFConfig **)p2;