summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index c2816dc19..4ef01395c 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -176,7 +176,7 @@ struct Literal {
double getf64() { assert(type == WasmType::f64); return f64; }
void printDouble(std::ostream &o, double d) {
- const char *text = JSPrinter::numToString(d);
+ const char *text = cashew::JSPrinter::numToString(d);
// spec interpreter hates floats starting with '.'
if (text[0] == '.') {
o << '0';