(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)

Fix warning in graph_gui.c with const problem
This commit is contained in:
Darkvater
2005-10-02 22:39:56 +00:00
parent 14cb6ac17c
commit e1acd38bc5
13 changed files with 127 additions and 24 deletions

View File

@@ -824,10 +824,10 @@ static int CDECL _perf_hist_comp(const void *elem1, const void *elem2 ) {
static void CompanyLeagueWndProc(Window *w, WindowEvent *e)
{
switch(e->event) {
switch (e->event) {
case WE_PAINT: {
const Player* p;
const Player* plist[MAX_PLAYERS];
Player const *plist[MAX_PLAYERS];
uint pl_num;
uint i;
@@ -840,7 +840,7 @@ static void CompanyLeagueWndProc(Window *w, WindowEvent *e)
}
assert(pl_num > 0);
qsort(plist, pl_num, sizeof(Player*), _perf_hist_comp);
qsort((void*)plist, pl_num, sizeof(Player*), _perf_hist_comp);
i = 0;
do {