From 6803e755d6805fe86345558a76f7d7b24dbbacc3 Mon Sep 17 00:00:00 2001 From: codemaster Date: Wed, 1 Mar 2006 05:43:41 +0000 Subject: * Corrected a few Compiling Warnings [Codemaster] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5405 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login_sql/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/login_sql') diff --git a/src/login_sql/login.c b/src/login_sql/login.c index 258fc9061..ba5b4dcc6 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -499,7 +499,7 @@ int mmo_auth_new(struct mmo_account* account, char sex) if(mysql_field_count(&mysql_handle) == 0 && mysql_insert_id(&mysql_handle) < START_ACCOUNT_NUM) { //Invalid Account ID! Must update it. - int id = mysql_insert_id(&mysql_handle); + int id = (int)mysql_insert_id(&mysql_handle); sprintf(tmp_sql, "UPDATE `%s` SET `%s`='%d' WHERE `%s`='%d'", login_db, login_db_account_id, START_ACCOUNT_NUM, login_db_account_id, id); if(mysql_query(&mysql_handle, tmp_sql)){ ShowError("New account %s has an invalid account ID [%d] which could not be updated (account_id must be %d or higher).", account->userid, id, START_ACCOUNT_NUM); -- cgit v1.2.3-70-g09d2