summaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index 90b395d8..456f1d6e 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 1.65 2001/06/21 16:41:34 roberto Exp roberto $ 2** $Id: lstate.c,v 1.66 2001/07/17 17:54:46 roberto Exp $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -33,7 +33,7 @@ static void close_state (lua_State *L, lua_State *OL);
33** open parts that may cause memory-allocation errors 33** open parts that may cause memory-allocation errors
34*/ 34*/
35static void f_luaopen (lua_State *L, void *ud) { 35static void f_luaopen (lua_State *L, void *ud) {
36 struct Sopen *so = (struct Sopen *)ud; 36 struct Sopen *so = cast(struct Sopen *, ud);
37 if (so->stacksize == 0) 37 if (so->stacksize == 0)
38 so->stacksize = DEFAULT_STACK_SIZE; 38 so->stacksize = DEFAULT_STACK_SIZE;
39 else 39 else