fixup build on win32

This commit is contained in:
Wez Furlong committed 2021-03-22 21:57:00 -07:00
1 parent 3cf7c9c3c2
commit 6ea24e7516
1 file changed
+2 -2
+2 -2
View File
@@ -598,10 +598,10 @@ impl LocalPane {
let mut proc_names = vec![];
if let ProcessState::Running { child, .. } = &*self.process.borrow() {
if let Some(pid) = child.process_id() {
use sysinfo::{ProcessExt, RefreshKind, System, SystemExt};
use sysinfo::{Pid, ProcessExt, RefreshKind, System, SystemExt};
let system = System::new_with_specifics(RefreshKind::new().with_processes());
let procs = system.get_processes();
let mut pids_to_do = vec![pid as i32];
let mut pids_to_do = vec![pid as Pid];
while let Some(pid) = pids_to_do.pop() {
if let Some(proc) = procs.get(&pid) {