Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 0eddfc85e09f9b5a1614c5f81d1ce1dc3e05972a..5e4d6c4af7d66dcb8025b8fe346789ed83b0f207 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -2899,7 +2899,8 @@ Node* WasmGraphBuilder::MemBuffer(uint32_t offset) { |
return mem_buffer_; |
} else { |
return jsgraph()->RelocatableIntPtrConstant( |
- mem_start + offset, RelocInfo::WASM_MEMORY_REFERENCE); |
+ static_cast<uintptr_t>(mem_start + offset), |
+ RelocInfo::WASM_MEMORY_REFERENCE); |
} |
} |