luci-lib-nixio: allow building with Lua5.2/LuaJIT
[project/luci.git] / libs / luci-lib-nixio / src / bit.c
index 1b352c51c5438c4a92fb2c3b643c970563ecfb4b..8c3c1b79800fa2e940850bf638daae7fca65d503 100644 (file)
@@ -120,7 +120,7 @@ static int nixio_bit_swap(lua_State *L) {
 }
 
 /* module table */
-static const luaL_reg R[] = {
+static const luaL_Reg R[] = {
        {"bor",                 nixio_bit_or},
        {"set",                 nixio_bit_or},
        {"band",                nixio_bit_and},