summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-30 17:31:36 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-30 17:31:36 +0000
commit44dea965c30af07ad546a8a78b093557a88f9314 (patch)
treebbc6a0b05eb79b2b50be6a3ec2a675b01f5850c0 /src/map
parent4fdf699da7e0f80e4d66fb54a9aa5783fba9b6ff (diff)
downloadhercules-44dea965c30af07ad546a8a78b093557a88f9314.tar.gz
hercules-44dea965c30af07ad546a8a78b093557a88f9314.tar.bz2
hercules-44dea965c30af07ad546a8a78b093557a88f9314.tar.xz
hercules-44dea965c30af07ad546a8a78b093557a88f9314.zip
- Some compile warning fixes.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5123 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-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;
}