diff options
author | Christian Pointner <equinox@spreadspace.org> | 2016-02-22 15:08:59 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2016-02-22 15:08:59 (GMT) |
commit | a077e3014dadfcfa958351415253f081633ce070 (patch) | |
tree | c2820e790f1ecdc44526c82d3b232a93f9e62b6e /src/l_log.c | |
parent | 03df0e0cd3657e5bc31bfec26beaaa73ae7cdd71 (diff) |
luaL_checkint is deprecated since Lua 5.3legacy
Diffstat (limited to 'src/l_log.c')
-rw-r--r-- | src/l_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/l_log.c b/src/l_log.c index a405909..05111c3 100644 --- a/src/l_log.c +++ b/src/l_log.c @@ -74,7 +74,7 @@ static int l_log_printf(lua_State *L) lua_call(L, numargs - 1, 1); } - log_prio_t prio = luaL_checkint(L,1); + log_prio_t prio = luaL_checkinteger(L,1); log_printf(prio, "%s", luaL_checkstring(L, 2)); return 0; } |