fixes warnings

This commit is contained in:
Pawel Kolodziejski
2008-07-26 19:30:44 +00:00
parent 6e69ade6bf
commit 546ebf268b
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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);
}