| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index 91eff7885d51a693a3696f1abe21f5fd2470cb8d..378e0d80dba9b2ddac0ab5368f23d432c382c5c6 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -2578,7 +2578,7 @@ void WasmGraphBuilder::BoundsCheckMem(MachineType memtype, Node* index,
|
| uint32_t offset,
|
| wasm::WasmCodePosition position) {
|
| DCHECK(module_ && module_->instance);
|
| - size_t size = module_->instance->mem_size;
|
| + uint32_t size = module_->instance->mem_size;
|
| byte memsize = wasm::WasmOpcodes::MemSize(memtype);
|
|
|
| // Check against the effective size.
|
|
|