summaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-09-06 12:24:46 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-09-06 12:24:46 -0300
commitf7fe04d4b78fb4027c1c9960e1a1b4c778a1252f (patch)
tree8a374bdc3f5c0a75afbc55c1536a5fe2addc2c59 /ldo.c
parent82699d0c4f497c651fe550f73b2810facf0f0446 (diff)
downloadlua-github-f7fe04d4b78fb4027c1c9960e1a1b4c778a1252f.tar.gz
details.
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index 81b1b708..da9207e4 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
/*
-** $Id: ldo.c,v 1.45 1999/06/22 20:37:23 roberto Exp roberto $
+** $Id: ldo.c,v 1.46 1999/08/16 20:52:00 roberto Exp roberto $
** Stack and Call structure of Lua
** See Copyright Notice in lua.h
*/
@@ -190,7 +190,7 @@ void luaD_calln (int nArgs, int nResults) {
break;
case LUA_T_CLOSURE: {
Closure *c = clvalue(func);
- TObject *proto = &(c->consts[0]);
+ TObject *proto = c->consts;
ttype(func) = LUA_T_CLMARK;
firstResult = (ttype(proto) == LUA_T_CPROTO) ?
callCclosure(c, fvalue(proto), base) :