summaryrefslogtreecommitdiff
path: root/src/lundump.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2011-12-07 12:00:00 +0000
committerrepogen <>2011-12-07 12:00:00 +0000
commitfc12b5930ac0e8393f43fa7b78829e19a7a1da20 (patch)
tree9c44c157e34d6c1d1d2c97ba465b09ecce5d45b0 /src/lundump.c
parent3a66913821e41b57d0f5e5f464d0b7b35b4cc131 (diff)
downloadlua-github-5.2.0-rc6.tar.gz
Lua 5.2.0-rc65.2.0-rc6
Diffstat (limited to 'src/lundump.c')
-rw-r--r--src/lundump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lundump.c b/src/lundump.c
index d7b0ab3b..80c7aa39 100644
--- a/src/lundump.c
+++ b/src/lundump.c
@@ -1,5 +1,5 @@
/*
-** $Id: lundump.c,v 1.70 2011/06/21 12:29:00 lhf Exp $
+** $Id: lundump.c,v 1.71 2011/12/07 10:39:12 lhf Exp $
** load precompiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -136,8 +136,8 @@ static void LoadUpvalues(LoadState* S, Proto* f)
for (i=0; i<n; i++) f->upvalues[i].name=NULL;
for (i=0; i<n; i++)
{
- f->upvalues[i].instack=LoadChar(S);
- f->upvalues[i].idx=LoadChar(S);
+ f->upvalues[i].instack=LoadByte(S);
+ f->upvalues[i].idx=LoadByte(S);
}
}