summaryrefslogtreecommitdiff
path: root/test/gen-spec-js.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen-spec-js.py')
-rwxr-xr-xtest/gen-spec-js.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gen-spec-js.py b/test/gen-spec-js.py
index e5db99c2..ede56a84 100755
--- a/test/gen-spec-js.py
+++ b/test/gen-spec-js.py
@@ -307,7 +307,7 @@ class ModuleExtender(object):
elif type_ == 'f32':
inst = F32ToWasm(int(const['value']))
elif type_ == 'f64':
- inst = F64ToWasm(long(const['value']))
+ inst = F64ToWasm(int(const['value']))
self.lines.append(inst)
def _RunWasm2Wast(self, wasm_path):