Skip to content

Commit

Permalink
Resolved final GCC compile warnings
Browse files Browse the repository at this point in the history
* Fully fixes #1171.
* Follow up to ee3cf98.
  • Loading branch information
aleos89 committed Apr 15, 2016
1 parent a85a907 commit a177740
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/script.c
Expand Up @@ -10580,8 +10580,8 @@ BUILDIN_FUNC(getareausers)
*------------------------------------------*/
static int buildin_getareadropitem_sub(struct block_list *bl,va_list ap)
{
unsigned short nameid = va_arg(ap, unsigned short);
unsigned short *amount = va_arg(ap, unsigned short *);
unsigned short nameid = (unsigned short)va_arg(ap, int);
unsigned short *amount = (unsigned short *)va_arg(ap, int *);
struct flooritem_data *drop=(struct flooritem_data *)bl;

if(drop->item.nameid==nameid)
Expand Down

0 comments on commit a177740

Please sign in to comment.