diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-18 21:59:20 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-18 21:59:20 +0000 |
commit | f26dbc30528f8627310fa03f46cefd940ee40588 (patch) | |
tree | ed89bb354699d2a5fb34b3b7022f37bc2b68b375 /src/map/unit.c | |
parent | 2bc59ef9db7a86d0c483e3848ead57d6d691e6a3 (diff) | |
download | hercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.gz hercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.bz2 hercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.xz hercules-f26dbc30528f8627310fa03f46cefd940ee40588.zip |
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
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |