mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r3215) - Fix: warning on VS.NET 2003 complaining about constness reintroduced by revision 3192
This commit is contained in:
parent
8b4d7f97da
commit
68c6e845f6
@ -835,7 +835,7 @@ static void CompanyLeagueWndProc(Window *w, WindowEvent *e)
|
||||
pl_num = 0;
|
||||
FOR_ALL_PLAYERS(p) if (p->is_active) plist[pl_num++] = p;
|
||||
|
||||
qsort(plist, pl_num, sizeof(*plist), PerfHistComp);
|
||||
qsort((void*)plist, pl_num, sizeof(*plist), PerfHistComp);
|
||||
|
||||
for (i = 0; i != pl_num; i++) {
|
||||
p = plist[i];
|
||||
|
Loading…
Reference in New Issue
Block a user