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

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
glx 17 years ago
parent 1f4889e38a
commit 9f552ae0b3

@ -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;

Loading…
Cancel
Save