summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 06ddd7cb1..00df83fc0 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1765,7 +1765,7 @@ struct map_session_data** map_getallusers(int *users) {
all_sd = aRealloc(all_sd, all_count*sizeof(struct map_session_data*));
}
*users = pc_db->getall(pc_db,(void**)all_sd,all_count,map_getallpc_sub);
- if (*users > all_count) //Which should be impossible...
+ if (*users > (signed int)all_count) //Which should be impossible...
*users = all_count;
return all_sd;
}