Index: components/startup_metric_utils/browser/startup_metric_utils.cc |
diff --git a/components/startup_metric_utils/browser/startup_metric_utils.cc b/components/startup_metric_utils/browser/startup_metric_utils.cc |
index 920471640878449790df9bfa4b1837890440cc09..0d8bc8993ea0ecefa2974c9a21693abfa90dccf3 100644 |
--- a/components/startup_metric_utils/browser/startup_metric_utils.cc |
+++ b/components/startup_metric_utils/browser/startup_metric_utils.cc |
@@ -136,7 +136,7 @@ bool GetHardFaultCountForCurrentProcess(uint32_t* hard_fault_count, |
DCHECK_LE(index + sizeof(SYSTEM_PROCESS_INFORMATION_EX), buffer.size()); |
SYSTEM_PROCESS_INFORMATION_EX* proc_info = |
reinterpret_cast<SYSTEM_PROCESS_INFORMATION_EX*>(buffer.data() + index); |
- if (reinterpret_cast<DWORD>(proc_info->UniqueProcessId) == proc_id) { |
+ if (reinterpret_cast<uintptr_t>(proc_info->UniqueProcessId) == proc_id) { |
*hard_fault_count = proc_info->HardFaultCount; |
return true; |
} |