diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-11-22 15:44:17 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-11-22 15:44:17 +0000 |
commit | 951a736ea97701dcde48c6085a596de96bafce45 (patch) | |
tree | 4aa30fc79780452937ea476e68b1a3013bc9c57c /src/map/script.c | |
parent | 82ed8e76484c53edb394191d95da9d1fad77bbe1 (diff) | |
download | hercules-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/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 127ebcde1..2786f082b 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -3150,7 +3150,7 @@ void run_script_main(struct script_state *st) //Delay execution st->sleep.charid = sd?sd->status.char_id:0; st->sleep.timer = add_timer(gettick()+st->sleep.tick, - run_script_timer, st->sleep.charid, (int)st); + run_script_timer, st->sleep.charid, (intptr)st); linkdb_insert(&sleep_db, (void*)st->oid, st); //Restore previous script if (sd) { |