We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c019e95 commit 862772eCopy full SHA for 862772e
src/base/process/process_iterator_freebsd.cc
@@ -21,7 +21,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* filter)
21
: index_of_kinfo_proc_(),
22
filter_(filter) {
23
24
- int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, getuid() };
+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, static_cast<int>(getuid()) };
25
26
bool done = false;
27
int try_num = 1;
0 commit comments