| author | Darkvater |
| Mon, 06 Feb 2006 23:28:07 +0000 | |
| changeset 2992 | bb83a99307cb |
| parent 2991 | 8a6e9bfa2f2f |
| child 2993 | 5fa94545a407 |
--- 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;