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/clif.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/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 81902f4e4..46e9c0fb9 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -633,7 +633,7 @@ int clif_clearunit_area(struct block_list* bl, uint8 type) static int clif_clearunit_delayed_sub(int tid, unsigned int tick, int id, intptr data) { - struct block_list *bl = (struct block_list *)id; + struct block_list *bl = (struct block_list *)data; clif_clearunit_area(bl, 0); aFree(bl); return 0; @@ -644,7 +644,7 @@ int clif_clearunit_delayed(struct block_list* bl, unsigned int tick) struct block_list *tbl; tbl = (struct block_list*)aMalloc(sizeof (struct block_list)); memcpy (tbl, bl, sizeof (struct block_list)); - add_timer(tick, clif_clearunit_delayed_sub, (int)tbl, 0); + add_timer(tick, clif_clearunit_delayed_sub, 0, (intptr)tbl); return 0; } |