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 8b6872dd116d17ce62093f842bed7dfe62351ee7..a5df703410ace2fc17c05be00582148b66e2e5a6 100644 |
--- a/test/cctest/test-run-wasm-relocation-x64.cc |
+++ b/test/cctest/test-run-wasm-relocation-x64.cc |
@@ -52,7 +52,7 @@ TEST(WasmRelocationX64MemoryReference) { |
byte* end = begin + code->instruction_size(); |
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); |