diff options
Diffstat (limited to 'lundump.c')
-rw-r--r-- | lundump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.c,v 2.45 2017/06/27 11:35:31 roberto Exp roberto $ | 2 | ** $Id: lundump.c,v 2.46 2017/06/27 14:21:12 roberto Exp roberto $ |
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 | */ |
@@ -283,7 +283,7 @@ LClosure *luaU_undump(lua_State *L, ZIO *Z, const char *name) { | |||
283 | S.Z = Z; | 283 | S.Z = Z; |
284 | checkHeader(&S); | 284 | checkHeader(&S); |
285 | cl = luaF_newLclosure(L, LoadByte(&S)); | 285 | cl = luaF_newLclosure(L, LoadByte(&S)); |
286 | setclLvalue(L, L->top, cl); | 286 | setclLvalue2s(L, L->top, cl); |
287 | luaD_inctop(L); | 287 | luaD_inctop(L); |
288 | cl->p = luaF_newproto(L); | 288 | cl->p = luaF_newproto(L); |
289 | LoadFunction(&S, cl->p, NULL); | 289 | LoadFunction(&S, cl->p, NULL); |