Index: test/cctest/test-run-wasm-relocation-x64.cc |
diff --git a/test/cctest/test-run-wasm-relocation-x64.cc b/test/cctest/test-run-wasm-relocation-x64.cc |
index 11fa45164e4c3ccdf79be70d285d4902ab8e8c7b..8b6872dd116d17ce62093f842bed7dfe62351ee7 100644 |
--- a/test/cctest/test-run-wasm-relocation-x64.cc |
+++ b/test/cctest/test-run-wasm-relocation-x64.cc |
@@ -107,7 +107,7 @@ TEST(WasmRelocationX64WasmMemorySizeReference) { |
CSignature0<int64_t> csig; |
CodeRunner<int64_t> runnable(isolate, code, &csig); |
int64_t ret_value = runnable.Call(); |
- CHECK_NE(ret_value, 0xdeadbeef); |
+ CHECK_NE(ret_value, bit_cast<uint32_t>(0xdeadbeef)); |
#ifdef OBJECT_PRINT |
OFStream os(stdout); |
@@ -130,7 +130,7 @@ TEST(WasmRelocationX64WasmMemorySizeReference) { |
} |
ret_value = runnable.Call(); |
- CHECK_NE(ret_value, 0xdeadbeef); |
+ CHECK_NE(ret_value, bit_cast<uint32_t>(0xdeadbeef)); |
#ifdef OBJECT_PRINT |
code->Print(os); |