summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--players.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/players.c b/players.c
index 5ce773ca4..b35ab0e29 100644
--- a/players.c
+++ b/players.c
@@ -1024,7 +1024,7 @@ int8 SaveHighScoreValueNetwork(void)
/* 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;