Cast FreeBSDProcess_new to Process_New

`Process_new_fn` had been renamed to `Process_New` in
d880def0e9
This commit is contained in:
Lance Chen 2015-06-07 17:20:36 +08:00 committed by Lance Chen
parent 1efa544e1b
commit 5a5dc71770
No known key found for this signature in database
GPG Key ID: B12F172F1A48D46C

View File

@ -146,7 +146,7 @@ void ProcessList_goThroughEntries(ProcessList* this) {
struct kinfo_proc* kproc = &kprocs[i];
bool preExisting = false;
Process* proc = ProcessList_getProcess(this, kproc->ki_pid, &preExisting, (Process_new_fn) FreeBSDProcess_new);
Process* proc = ProcessList_getProcess(this, kproc->ki_pid, &preExisting, (Process_New) FreeBSDProcess_new);
FreeBSDProcess* fp = (FreeBSDProcess*) proc;
proc->show = ! ((hideKernelThreads && Process_isKernelThread(proc)) || (hideUserlandThreads && Process_isUserlandThread(proc)));