mirror of https://github.com/OpenTTD/OpenTTD
(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
parent
1f4889e38a
commit
9f552ae0b3
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue