Originally posted by [b]Saithis[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=3268
QUOTE
script.c: In function âbuildin_mobuseskill_subâ:
script.c:14370: warning: âboolâ is promoted to âintâ when passed through â...â
script.c:14370: warning: (so you should pass âintâ not âboolâ to âva_argâ)
script.c:14370: note: if this code is reached, the program will abort
line 14370 is this for me:
CODE
int cancel = va_arg(ap,bool);
if you change it to
CODE
int cancel = va_arg(ap,int);
the error disappears