| Index: base/profiler/native_stack_sampler_win.cc
|
| diff --git a/base/profiler/native_stack_sampler_win.cc b/base/profiler/native_stack_sampler_win.cc
|
| index a39502d378ac87e4876df5d28b640bc428ff6514..bc935c0e588e12755e887388f5b57643a083da3f 100644
|
| --- a/base/profiler/native_stack_sampler_win.cc
|
| +++ b/base/profiler/native_stack_sampler_win.cc
|
| @@ -266,7 +266,7 @@ bool NativeStackSamplerWin::GetModuleForHandle(
|
|
|
| module->filename = base::FilePath(module_name);
|
|
|
| - module->base_address = reinterpret_cast<const void*>(module_handle);
|
| + module->base_address = reinterpret_cast<uintptr_t>(module_handle);
|
|
|
| module->id = GetBuildIDForModule(module_handle);
|
| if (module->id.empty())
|
| @@ -305,7 +305,7 @@ void NativeStackSamplerWin::CopyToSample(
|
|
|
| for (int i = 0; i < stack_depth; ++i) {
|
| sample->push_back(StackSamplingProfiler::Frame(
|
| - instruction_pointers[i],
|
| + reinterpret_cast<uintptr_t>(instruction_pointers[i]),
|
| GetModuleIndex(module_handles[i], module)));
|
| }
|
| }
|
|
|