summaryrefslogtreecommitdiff
path: root/src/wasm-interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r--src/wasm-interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h
index f412e2afb..7af64e336 100644
--- a/src/wasm-interpreter.h
+++ b/src/wasm-interpreter.h
@@ -354,7 +354,7 @@ public:
Literal value = flow.value;
switch (curr->op) { // :-)
case ExtendSInt32: return Flow(Literal(int64_t(value.geti32())));
- case ExtendUInt32: return Flow(Literal(int64_t((uint32_t)value.geti32())));
+ case ExtendUInt32: return Flow(Literal(uint64_t((uint32_t)value.geti32())));
case WrapInt64: return Flow(Literal(int32_t(value.geti64())));
case TruncSFloat32: return Flow(Literal(int32_t(value.getf32())));
case TruncUFloat32: return Flow(Literal(uint32_t(value.getf32())));