diff options
author | Christian Pointner <equinox@anylike.org> | 2016-02-25 23:24:11 +0100 |
---|---|---|
committer | Christian Pointner <equinox@anylike.org> | 2016-02-25 23:24:11 +0100 |
commit | dda72105b0b68971f5a9bb8fd77a68eda296c7dd (patch) | |
tree | aba83531eb68e7803f70d1b6409aa81c7f431f10 /src/l_log.c | |
parent | added git ignore (diff) |
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 37e725e..5db304d 100644 --- a/src/l_log.c +++ b/src/l_log.c @@ -84,7 +84,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; } |