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
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
here is the SRC of the command
http://pastebin.com/AFkBXacS
Share this post
Link to post
Share on other sites