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

This commit is contained in:
glx
2007-09-28 16:05:40 +00:00
parent 9613a9988c
commit ab886349ab

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;