aboutsummaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lundump.c b/lundump.c
index 76f0ddc1..74839af8 100644
--- a/lundump.c
+++ b/lundump.c
@@ -327,7 +327,8 @@ static void loadFunction (LoadState *S, Proto *f) {
327 f->linedefined = loadInt(S); 327 f->linedefined = loadInt(S);
328 f->lastlinedefined = loadInt(S); 328 f->lastlinedefined = loadInt(S);
329 f->numparams = loadByte(S); 329 f->numparams = loadByte(S);
330 f->flag = loadByte(S) & PF_ISVARARG; /* get only the meaningful flags */ 330 /* get only the meaningful flags */
331 f->flag = cast_byte(loadByte(S) & ~PF_FIXED);
331 if (S->fixed) 332 if (S->fixed)
332 f->flag |= PF_FIXED; /* signal that code is fixed */ 333 f->flag |= PF_FIXED; /* signal that code is fixed */
333 f->maxstacksize = loadByte(S); 334 f->maxstacksize = loadByte(S);