summaryrefslogtreecommitdiff
path: root/src/ldump.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-08-10 11:56:20 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-08-10 11:56:20 +0200
commit7b8f0563309b866a4e36a20e17d9a01bb4236b79 (patch)
tree9fc5b33570a46de3c650642ec658a0eb19d65da7 /src/ldump.js
parent082fbf3cccf0a7685896e1450f948be6b7e3dda2 (diff)
downloadfengari-7b8f0563309b866a4e36a20e17d9a01bb4236b79.tar.gz
fengari-7b8f0563309b866a4e36a20e17d9a01bb4236b79.tar.bz2
fengari-7b8f0563309b866a4e36a20e17d9a01bb4236b79.zip
ldump.js: fixed bad integer size in DumpInteger
Diffstat (limited to 'src/ldump.js')
-rw-r--r--src/ldump.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldump.js b/src/ldump.js
index 49372f9..3ab0e47 100644
--- a/src/ldump.js
+++ b/src/ldump.js
@@ -49,7 +49,7 @@ const DumpInteger = function(x, D) {
let t = [];
for (let i = 0; i < 4; i++)
t.push(dv.getUint8(i, true));
- DumpBlock(t, 8, D);
+ DumpBlock(t, 4, D);
};
const DumpNumber = function(x, D) {