aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ldump.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldump.js b/src/ldump.js
index 1298a03..128b270 100644
--- a/src/ldump.js
+++ b/src/ldump.js
@@ -154,7 +154,7 @@ const DumpFunction = function(f, psource, D) {
DumpInt(f.linedefined, D);
DumpInt(f.lastlinedefined, D);
DumpByte(f.numparams, D);
- DumpByte(f.is_vararg, D);
+ DumpByte(f.is_vararg?1:0, D);
DumpByte(f.maxstacksize, D);
DumpCode(f, D);
DumpConstants(f, D);