aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-30 10:20:29 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-30 10:20:29 -0200
commit728ff2070135b54c544b90020be268f53bf2d15a (patch)
treee8e0ac5b298c96ab66406a9d794a531d92dd4705
parent2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6 (diff)
downloadlua-728ff2070135b54c544b90020be268f53bf2d15a.tar.gz
lua-728ff2070135b54c544b90020be268f53bf2d15a.tar.bz2
lua-728ff2070135b54c544b90020be268f53bf2d15a.zip
details
-rw-r--r--lfunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lfunc.c b/lfunc.c
index 6a012825..2f78a9ed 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -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
20Closure *luaF_newclosure (lua_State *L, int nelems) { 20Closure *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;