summaryrefslogtreecommitdiff
path: root/src/lundump.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lundump.js')
-rw-r--r--src/lundump.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lundump.js b/src/lundump.js
index 3c35710..eeb77f4 100644
--- a/src/lundump.js
+++ b/src/lundump.js
@@ -212,7 +212,7 @@ class BytecodeParser {
f.linedefined = this.readInt();
f.lastlinedefined = this.readInt();
f.numparams = this.readByte();
- f.is_vararg = this.readByte();
+ f.is_vararg = this.readByte() !== 0;
f.maxstacksize = this.readByte();
this.readCode(f);
this.readConstants(f);