From a077e3014dadfcfa958351415253f081633ce070 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@spreadspace.org>
Date: Mon, 22 Feb 2016 16:08:59 +0100
Subject: luaL_checkint is deprecated since Lua 5.3


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;
 }
-- 
cgit v0.10.2