diff options
Diffstat (limited to 'src/lundump.js')
-rw-r--r-- | src/lundump.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lundump.js b/src/lundump.js index 946efa6..17cdc70 100644 --- a/src/lundump.js +++ b/src/lundump.js @@ -17,7 +17,7 @@ class BytecodeParser { constructor(L, Z, name) { this.intSize = 4; - this.size_tSize = 8; + this.size_tSize = 4; this.instructionSize = 4; this.integerSize = 4; this.numberSize = 8; @@ -237,7 +237,7 @@ class BytecodeParser { this.numberSize = this.readByte(); this.checksize(this.intSize, 4, "int"); - this.checksize(this.size_tSize, 8, "size_t"); + this.checksize(this.size_tSize, 4, "size_t"); this.checksize(this.instructionSize, 4, "instruction"); this.checksize(this.integerSize, 4, "integer"); this.checksize(this.numberSize, 8, "number"); |