Skip to content

Commit 862772e

Browse files
committed
fix it
1 parent c019e95 commit 862772e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/process/process_iterator_freebsd.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* filter)
2121
: index_of_kinfo_proc_(),
2222
filter_(filter) {
2323

24-
int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, getuid() };
24+
int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, static_cast<int>(getuid()) };
2525

2626
bool done = false;
2727
int try_num = 1;

0 commit comments

Comments
 (0)