diff options
Diffstat (limited to 'src/wasm2asm.h')
-rw-r--r-- | src/wasm2asm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm2asm.h b/src/wasm2asm.h index 69abf9c3f..76ccbf8b6 100644 --- a/src/wasm2asm.h +++ b/src/wasm2asm.h @@ -919,7 +919,7 @@ Ref Wasm2AsmBuilder::processFunctionBody(Expression* curr, IString result) { case f32: { Ref ret = ValueBuilder::makeCall(MATH_FROUND); Const fake; - fake.value = double(curr->value.f32); + fake.value = Literal(double(curr->value.f32)); fake.type = f64; ret[2]->push_back(visitConst(&fake)); return ret; |