Mercurial > hg > openttd
changeset 7648:1d7d957cfdbd draft
(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
author | glx <glx@openttd.org> |
---|---|
date | Fri, 28 Sep 2007 16:05:40 +0000 |
parents | 67cd6c32e138 |
children | 67e8afd7e797 |
files | src/newgrf_config.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_config.cpp +++ b/src/newgrf_config.cpp @@ -377,7 +377,7 @@ * @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;