diff options
Diffstat (limited to 'lfunc.c')
-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.20 2000/03/10 18:37:44 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 1.21 2000/03/29 20:19:20 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 | */ |
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | Closure *luaF_newclosure (lua_State *L, int nelems) { | 21 | Closure *luaF_newclosure (lua_State *L, int nelems) { |
22 | Closure *c = (Closure *)luaM_malloc(L, sizeof(Closure) + | 22 | Closure *c = (Closure *)luaM_malloc(L, sizeof(Closure) + |
23 | sizeof(TObject)*(nelems-1)); | 23 | (lint32)sizeof(TObject)*(nelems-1)); |
24 | c->next = L->rootcl; | 24 | c->next = L->rootcl; |
25 | L->rootcl = c; | 25 | L->rootcl = c; |
26 | c->marked = 0; | 26 | c->marked = 0; |