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 f7f6ce6b5..2c78182f8 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -117,7 +117,7 @@ struct Literal {
bool operator==(Literal& other) {
if (type != other.type) return false;
if (type == none) return true;
- if (type == i32 || type == f32) return i32 == other.i32;
+ if (type == WasmType::i32 || type == WasmType::f32) return i32 == other.i32;
return i64 == other.i64;
}