summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-10 13:59:23 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-10 13:59:23 +0000
commite691cff48424675b5d6f3ca0e5ded1b2aebbecd1 (patch)
treec74873c5e9d29f636c35704397cb259e8136e020 /src/char_sql
parentd8872dabd55e5db6962e5bcddd5d0ac469ef9312 (diff)
downloadhercules-e691cff48424675b5d6f3ca0e5ded1b2aebbecd1.tar.gz
hercules-e691cff48424675b5d6f3ca0e5ded1b2aebbecd1.tar.bz2
hercules-e691cff48424675b5d6f3ca0e5ded1b2aebbecd1.tar.xz
hercules-e691cff48424675b5d6f3ca0e5ded1b2aebbecd1.zip
Fixed some more gcc incompatibilities...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11706 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index e48ecc9e4..3838d0c1f 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -3280,7 +3280,7 @@ int broadcast_user_count(int tid, unsigned int tick, int id, int data)
int users = count_users();
// only send an update when needed
- static prev_users = 0;
+ static int prev_users = 0;
if( prev_users == users )
return 0;
prev_users = users;