| Index: test/cctest/wasm/test-run-wasm.cc
|
| diff --git a/test/cctest/wasm/test-run-wasm.cc b/test/cctest/wasm/test-run-wasm.cc
|
| index 087df9dfc442c20e1e47f7ca62c7e0a25c4b6290..a0438854fa86e5c1bd19e20392f8f69d3172f372 100644
|
| --- a/test/cctest/wasm/test-run-wasm.cc
|
| +++ b/test/cctest/wasm/test-run-wasm.cc
|
| @@ -264,7 +264,7 @@ class WasmFunctionCompiler : public HandleAndZoneScope,
|
| uint32_t CompileAndAdd(TestingModule* module) {
|
| uint32_t index = 0;
|
| if (module->module && module->module->functions) {
|
| - index = module->module->functions->size();
|
| + index = static_cast<uint32_t>(module->module->functions->size());
|
| }
|
| module->AddFunction(env.sig, Compile(module));
|
| return index;
|
| @@ -2620,7 +2620,7 @@ TEST(Run_WasmCallF32StackParameter) {
|
| TestingModule module;
|
| WasmFunctionCompiler t(&sig);
|
| BUILD(t, WASM_GET_LOCAL(17));
|
| - unsigned index = t.CompileAndAdd(&module);
|
| + uint32_t index = t.CompileAndAdd(&module);
|
|
|
| // Build the calling function.
|
| WasmRunner<float> r;
|
| @@ -2646,7 +2646,7 @@ TEST(Run_WasmCallF64StackParameter) {
|
| TestingModule module;
|
| WasmFunctionCompiler t(&sig);
|
| BUILD(t, WASM_GET_LOCAL(17));
|
| - unsigned index = t.CompileAndAdd(&module);
|
| + uint32_t index = t.CompileAndAdd(&module);
|
|
|
| // Build the calling function.
|
| WasmRunner<double> r;
|
|
|