summaryrefslogtreecommitdiffstats
path: root/src/lua-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua-test.c')
-rw-r--r--src/lua-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua-test.c b/src/lua-test.c
index 8cd0e9f..68de286 100644
--- a/src/lua-test.c
+++ b/src/lua-test.c
@@ -14,7 +14,7 @@ int main(int argc, char *argv[])
(void)argc;
(void)argv;
- L = lua_open();
+ L = luaL_newstate();
lua_close(L);
return 0;
}