mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
fixes warnings
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ void luaX_token2str (LexState * /*ls*/, int32 token, char *s) {
|
||||
|
||||
static void luaX_invalidchar (LexState *ls, int32 c) {
|
||||
char buff[10];
|
||||
sprintf(buff, "0x%X", c);
|
||||
sprintf(buff, "0x%X", (int)c);
|
||||
luaX_syntaxerror(ls, "invalid control char", buff);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user