| Index: test/cctest/test-run-wasm-relocation-ia32.cc
|
| diff --git a/test/cctest/test-run-wasm-relocation-ia32.cc b/test/cctest/test-run-wasm-relocation-ia32.cc
|
| index e23d0977d69a434407d9be5860c69e826a07bafe..f2241d5f9263ddad332f3db1b1ec8135e1743cc0 100644
|
| --- a/test/cctest/test-run-wasm-relocation-ia32.cc
|
| +++ b/test/cctest/test-run-wasm-relocation-ia32.cc
|
| @@ -56,7 +56,7 @@ TEST(WasmRelocationIa32MemoryReference) {
|
| disasm::Disassembler::Disassemble(stdout, begin, end);
|
| #endif
|
|
|
| - size_t offset = 1234;
|
| + int offset = 1234;
|
|
|
| // Relocating references by offset
|
| int mode_mask = (1 << RelocInfo::WASM_MEMORY_REFERENCE);
|
| @@ -114,7 +114,7 @@ TEST(WasmRelocationIa32MemorySizeReference) {
|
|
|
| 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 OBJECT_PRINT
|
| OFStream os(stdout);
|
| @@ -138,7 +138,7 @@ TEST(WasmRelocationIa32MemorySizeReference) {
|
| }
|
|
|
| ret_value = runnable.Call();
|
| - CHECK_NE(ret_value, 0xdeadbeef);
|
| + CHECK_NE(ret_value, bit_cast<int32_t>(0xdeadbeef));
|
|
|
| #ifdef OBJECT_PRINT
|
| code->Print(os);
|
|
|