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
@@ -592,7 +592,7 @@ static void error_unmatched (LexState *ls, int32 what, int32 who, int32 where) {
luaX_token2str(ls, what, t_what);
luaX_token2str(ls, who, t_who);
sprintf(buff, "`%s' expected (to close `%s' at line %d)",
t_what, t_who, where);
t_what, t_who, (int)where);
luaX_error(ls, buff);
}
}