summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-28 10:36:10 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-28 10:36:10 +0000
commit08d30308c4b2055d1c0188a2a570ab91c5d972a7 (patch)
treeba0fa797ce44be36e20ad905273f92bb5eaa9365 /src/login
parentf412aa286157b5e9484d66887431236a4dcddbe7 (diff)
downloadhercules-08d30308c4b2055d1c0188a2a570ab91c5d972a7.tar.gz
hercules-08d30308c4b2055d1c0188a2a570ab91c5d972a7.tar.bz2
hercules-08d30308c4b2055d1c0188a2a570ab91c5d972a7.tar.xz
hercules-08d30308c4b2055d1c0188a2a570ab91c5d972a7.zip
Fixed sign warnings in login/login.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7940 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 09d4a77ca..81727b003 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1407,7 +1407,7 @@ static int online_db_setoffline(DBKey key, void* data, va_list ap) {
// Packet parsing for char-servers
//--------------------------------
int parse_fromchar(int fd) {
- int i;
+ unsigned int i;
int j, id;
unsigned char *p = (unsigned char *) &session[fd]->client_addr.sin_addr;
char ip[16];
@@ -1911,7 +1911,7 @@ int parse_fromchar(int fd) {
}
{
struct online_login_data *p;
- int aid, users;
+ unsigned int aid, users;
online_db->foreach(online_db,online_db_setoffline,id); //Set all chars from this char-server offline first
users = RFIFOW(fd,4);
for (i = 0; i < users; i++) {