Index: test/cctest/wasm/test-run-wasm-simd.cc |
diff --git a/test/cctest/wasm/test-run-wasm-simd.cc b/test/cctest/wasm/test-run-wasm-simd.cc |
index a959e20121286b70ae2dba9650d67c46d1205035..65e03e5cfb0480b883882394d4f91309fa41da8d 100644 |
--- a/test/cctest/wasm/test-run-wasm-simd.cc |
+++ b/test/cctest/wasm/test-run-wasm-simd.cc |
@@ -522,7 +522,7 @@ void RunF32x4CompareOpTest(WasmOpcode simd_op, FloatCompareOp expected_op) { |
if (SkipFPTestInput(*i)) continue; |
FOR_FLOAT32_INPUTS(j) { |
if (SkipFPTestInput(*j)) continue; |
- int diff = *i - *j; |
+ float diff = *i - *j; |
if (SkipFPTestResult(diff)) continue; |
CHECK_EQ(1, r.Call(*i, *j, expected_op(*i, *j))); |
} |