luaL_checkint() --> luaL-checkinteger()

This commit is contained in:
Bruno Silvestre
2015-02-11 09:15:27 -02:00
parent c464a9218b
commit 79895cebcd
5 changed files with 5 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ static int pushchar(int c, int last, const char *marker,
}
static int eol(lua_State *L) {
int context = luaL_checkint(L, 1);
int context = (int)luaL_checkinteger(L, 1);
size_t isize = 0;
const char *input = luaL_optlstring(L, 2, NULL, &isize);
const char *last = input + isize;

View File

@@ -269,7 +269,7 @@ times:
\begin{C}
@stick#
static int eol(lua_State *L) {
int context = luaL_checkint(L, 1);
int context = (int)luaL_checkinteger(L, 1);
size_t isize = 0;
const char *input = luaL_optlstring(L, 2, NULL, &isize);
const char *last = input + isize;