Index: test/cctest/test-run-wasm-relocation-arm.cc |
diff --git a/test/cctest/test-run-wasm-relocation-arm.cc b/test/cctest/test-run-wasm-relocation-arm.cc |
index b2e6ec3a3b2bc669c390c52c82e507a11e7e90fd..4fd186e56589772ba5f0bd4f88ce9ac6dc447120 100644 |
--- a/test/cctest/test-run-wasm-relocation-arm.cc |
+++ b/test/cctest/test-run-wasm-relocation-arm.cc |
@@ -50,7 +50,7 @@ TEST(WasmRelocationArmMemoryReference) { |
code->Print(os); |
::printf("f() = %d\n\n", ret_value); |
#endif |
- size_t offset = 1234; |
+ int offset = 1234; |
// Relocating references by offset |
int mode_mask = (1 << RelocInfo::WASM_MEMORY_REFERENCE); |
@@ -103,7 +103,7 @@ TEST(WasmRelocationArmMemorySizeReference) { |
CSignature0<int32_t> csig; |
CodeRunner<int32_t> runnable(isolate, code, &csig); |
int32_t ret_value = runnable.Call(); |
- CHECK_NE(ret_value, 0xdeadbeef); |
+ CHECK_NE(ret_value, bit_cast<int32_t>(0xdeadbeef)); |
#ifdef DEBUG |
OFStream os(stdout); |
@@ -124,7 +124,7 @@ TEST(WasmRelocationArmMemorySizeReference) { |
} |
ret_value = runnable.Call(); |
- CHECK_NE(ret_value, 0xdeadbeef); |
+ CHECK_NE(ret_value, bit_cast<int32_t>(0xdeadbeef)); |
#ifdef DEBUG |
code->Print(os); |