diff options
-rw-r--r-- | lundump.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.c,v 1.70 2011/06/21 12:29:00 lhf Exp $ | 2 | ** $Id: lundump.c,v 1.71 2011/12/07 10:39:12 lhf Exp lhf $ |
3 | ** load precompiled Lua chunks | 3 | ** load precompiled Lua chunks |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -136,8 +136,8 @@ static void LoadUpvalues(LoadState* S, Proto* f) | |||
136 | for (i=0; i<n; i++) f->upvalues[i].name=NULL; | 136 | for (i=0; i<n; i++) f->upvalues[i].name=NULL; |
137 | for (i=0; i<n; i++) | 137 | for (i=0; i<n; i++) |
138 | { | 138 | { |
139 | f->upvalues[i].instack=LoadChar(S); | 139 | f->upvalues[i].instack=LoadByte(S); |
140 | f->upvalues[i].idx=LoadChar(S); | 140 | f->upvalues[i].idx=LoadByte(S); |
141 | } | 141 | } |
142 | } | 142 | } |
143 | 143 | ||