diff options
author | Darkvater <darkvater@openttd.org> | 2005-11-17 22:56:50 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-11-17 22:56:50 +0000 |
commit | cac9cfe24970690b9e46f571aa17e1970ba2dbb5 (patch) | |
tree | 6ecdf789ae4b0b1eb8d7b6c6a66919380a876443 | |
parent | eba1f68439364236de7ae3c7792e2a87cfbcf670 (diff) | |
download | openttd-cac9cfe24970690b9e46f571aa17e1970ba2dbb5.tar.xz |
(svn r3215) - Fix: warning on VS.NET 2003 complaining about constness reintroduced by revision 3192
-rw-r--r-- | graph_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graph_gui.c b/graph_gui.c index 7d4a32596..58bfe68a7 100644 --- a/graph_gui.c +++ b/graph_gui.c @@ -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]; |