summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-11-22 15:44:17 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-11-22 15:44:17 +0000
commit951a736ea97701dcde48c6085a596de96bafce45 (patch)
tree4aa30fc79780452937ea476e68b1a3013bc9c57c /src/login
parent82ed8e76484c53edb394191d95da9d1fad77bbe1 (diff)
downloadhercules-951a736ea97701dcde48c6085a596de96bafce45.tar.gz
hercules-951a736ea97701dcde48c6085a596de96bafce45.tar.bz2
hercules-951a736ea97701dcde48c6085a596de96bafce45.tar.xz
hercules-951a736ea97701dcde48c6085a596de96bafce45.zip
* Hunted down the simpler 64bit pointer truncations.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13380 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-rw-r--r--src/login/account_txt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/account_txt.c b/src/login/account_txt.c
index f177a1a2e..6777c2062 100644
--- a/src/login/account_txt.c
+++ b/src/login/account_txt.c
@@ -183,7 +183,7 @@ static bool account_db_txt_init(AccountDB* self)
// initialize data saving timer
add_timer_func_list(mmo_auth_sync_timer, "mmo_auth_sync_timer");
- db->save_timer = add_timer_interval(gettick() + AUTH_SAVING_INTERVAL, mmo_auth_sync_timer, 0, (int)db, AUTH_SAVING_INTERVAL);
+ db->save_timer = add_timer_interval(gettick() + AUTH_SAVING_INTERVAL, mmo_auth_sync_timer, 0, (intptr)db, AUTH_SAVING_INTERVAL);
return true;
}