diff options
-rw-r--r-- | lfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lfunc.c,v 1.32 2000/10/10 19:52:58 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 1.33 2000/10/18 17:19:09 roberto Exp roberto $ |
3 | ** Auxiliary functions to manipulate prototypes and closures | 3 | ** Auxiliary functions to manipulate prototypes and closures |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | 19 | ||
20 | Closure *luaF_newclosure (lua_State *L, int nelems) { | 20 | Closure *luaF_newclosure (lua_State *L, int nelems) { |
21 | lint32 size = sizeclosure(nelems); | 21 | int size = sizeclosure(nelems); |
22 | Closure *c = (Closure *)luaM_malloc(L, size); | 22 | Closure *c = (Closure *)luaM_malloc(L, size); |
23 | c->next = L->rootcl; | 23 | c->next = L->rootcl; |
24 | L->rootcl = c; | 24 | L->rootcl = c; |