From bc9e0854a2c7336c6f7b4a388b5ff00b9f4865e8 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Mon, 21 Apr 2008 21:34:31 +0000 Subject: * Changed the data field of timers from int to intptr. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12633 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index abb9c61d3..691035c61 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -6970,13 +6970,13 @@ int atcommand_mobinfo(const int fd, struct map_session_data* sd, const char* com * @showmobs by KarLaeda * => For 5 sec displays the mobs on minimap *------------------------------------------*/ -int atshowmobs_timer(int tid, unsigned int tick, int id, int data) +int atshowmobs_timer(int tid, unsigned int tick, int id, intptr data) { struct map_session_data* sd = map_id2sd(id); if( sd == NULL ) return 0; - clif_viewpoint(sd, 1, 2, 0, 0, data, 0xFFFFFF); + clif_viewpoint(sd, 1, 2, 0, 0, (int)data, 0xFFFFFF); return 1; } static int atshowmobs_sub(struct block_list *bl,va_list ap) -- cgit v1.2.3-60-g2f50