From f26dbc30528f8627310fa03f46cefd940ee40588 Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 18 Oct 2007 21:59:20 +0000 Subject: Fixed some gcc-specific stuff, silenced some more warnings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11515 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 5621eedc2..616781b7a 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -550,7 +550,7 @@ uint8 unit_getdir(struct block_list *bl) //Warps a unit/ud to a given map/position. //In the case of players, pc_setpos is used. //it respects the no warp flags, so it is safe to call this without doing nowarpto/nowarp checks. -int unit_warp(struct block_list *bl,short m,short x,short y,uint8 type) +int unit_warp(struct block_list *bl,short m,short x,short y,int type) { struct unit_data *ud; nullpo_retr(0, bl); @@ -1605,7 +1605,7 @@ int unit_changeviewsize(struct block_list *bl,short size) * Otherwise it is assumed bl is being warped. * On-Kill specific stuff is not performed here, look at status_damage for that. *------------------------------------------*/ -int unit_remove_map(struct block_list *bl, uint8 clrtype) +int unit_remove_map(struct block_list *bl, int clrtype) { struct unit_data *ud = unit_bl2ud(bl); struct status_change *sc = status_get_sc(bl); @@ -1753,7 +1753,7 @@ int unit_remove_map(struct block_list *bl, uint8 clrtype) * If clrtype is <0, no saving is performed. This is only for non-authed * objects that shouldn't be on a map yet. *------------------------------------------*/ -int unit_free(struct block_list *bl, uint8 clrtype) +int unit_free(struct block_list *bl, int clrtype) { struct unit_data *ud = unit_bl2ud( bl ); nullpo_retr(0, ud); -- cgit v1.2.3-70-g09d2