summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-29 06:08:31 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-29 06:08:31 +0000
commitd4a61a7bdfa44effdf4f37bf23e00fe0959cdcc5 (patch)
treea5e9677448d07013b3f84662b45a4ec31272bd55 /src/login
parentcd5a0e3df3310c3b5e603ec9b963ed3873e0f80b (diff)
downloadhercules-d4a61a7bdfa44effdf4f37bf23e00fe0959cdcc5.tar.gz
hercules-d4a61a7bdfa44effdf4f37bf23e00fe0959cdcc5.tar.bz2
hercules-d4a61a7bdfa44effdf4f37bf23e00fe0959cdcc5.tar.xz
hercules-d4a61a7bdfa44effdf4f37bf23e00fe0959cdcc5.zip
swtcompilationerror (followup to r13149)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13151 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-rw-r--r--src/login/account_txt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/account_txt.c b/src/login/account_txt.c
index 4b4e4b950..f177a1a2e 100644
--- a/src/login/account_txt.c
+++ b/src/login/account_txt.c
@@ -127,14 +127,14 @@ static bool account_db_txt_init(AccountDB* self)
if( line[0] == '/' && line[1] == '/' )
continue;
- int n = 0;
+ n = 0;
if( sscanf(line, "%d%n", &v, &n) == 1 && (line[n] == '\n' || line[n] == '\r') )
{// format version definition
version = v;
continue;
}
- int n = 0;
+ n = 0;
if( sscanf(line, "%d\t%%newid%%%n", &account_id, &n) == 1 && (line[n] == '\n' || line[n] == '\r') )
{// auto-increment
if( account_id > db->next_account_id )