Index: base/process/process_iterator_linux.cc |
diff --git a/base/process/process_iterator_linux.cc b/base/process/process_iterator_linux.cc |
index 0587d7b88c59daae372adc154030461a66f9f07f..8f746aa3391eabe2822a144f4b0c2ae9215b44b9 100644 |
--- a/base/process/process_iterator_linux.cc |
+++ b/base/process/process_iterator_linux.cc |
@@ -121,8 +121,8 @@ bool ProcessIterator::CheckForNextProcess() { |
} |
entry_.pid_ = pid; |
- entry_.ppid_ = GetProcStatsFieldAsInt(proc_stats, internal::VM_PPID); |
- entry_.gid_ = GetProcStatsFieldAsInt(proc_stats, internal::VM_PGRP); |
+ entry_.ppid_ = GetProcStatsFieldAsInt64(proc_stats, internal::VM_PPID); |
+ entry_.gid_ = GetProcStatsFieldAsInt64(proc_stats, internal::VM_PGRP); |
entry_.cmd_line_args_.assign(cmd_line_args.begin(), cmd_line_args.end()); |
entry_.exe_file_ = GetProcessExecutablePath(pid).BaseName().value(); |
return true; |