author | Darkvater |
Mon, 06 Feb 2006 23:28:07 +0000 | |
changeset 2992 | d3248a561d0d |
parent 2991 | 4582583fba15 |
child 2993 | 48b4308ed6a1 |
--- a/players.c Mon Feb 06 22:30:43 2006 +0000 +++ b/players.c Mon Feb 06 23:28:07 2006 +0000 @@ -1024,7 +1024,7 @@ /* Sort all active players with the highest score first */ FOR_ALL_PLAYERS(p) if (p->is_active) pl[count++] = p; - qsort(pl, count, sizeof(pl[0]), HighScoreSorter); + qsort((Player*)pl, count, sizeof(pl[0]), HighScoreSorter); { uint i;