Problems With SRC

ossi0110

Community Contributors
Messages
575
Points
0
Location
Germany
Github
ossi0110
Hello Hercules

Im using 1 Atcommands from Rathena and i got some warnings  and i dunno how to fix them .

The Problem is the @mapmoblist patch from Rathena , When i Compile it under Windows all works fine ,  When i Compile it under Linux i get warnings and the Map Server will crash .

Warnings in atcommand.c

atcommand.c:8720: warning: "short int" is promoted to "int" when passed through "..."atcommand.c:8720: note: (so you should pass "int" not "short int" to "va_arg")atcommand.c:8720: note: if this code is reached, the program will abort
here is the SRC of the command

http://pastebin.com/AFkBXacS

 
Back
Top