diff options
Diffstat (limited to 'lundump.c')
| -rw-r--r-- | lundump.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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); |
