diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-21 21:26:09 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-26 19:30:38 +0100 |
commit | a3bb7cbe649d9c718b65aded4c6b2445ff5d20d5 (patch) | |
tree | 0777ed5bf2fe322227fe114cd1126ab77bc8ccf1 /freebsd | |
parent | 4eb443926f9944f4c100b1aabfb5553cbbd98874 (diff) |
Hold only a const version of Settings in ProcessList
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/FreeBSDProcessList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/FreeBSDProcessList.c b/freebsd/FreeBSDProcessList.c index 4e418446..28cdf859 100644 --- a/freebsd/FreeBSDProcessList.c +++ b/freebsd/FreeBSDProcessList.c @@ -382,7 +382,7 @@ IGNORE_WCASTQUAL_END void ProcessList_goThroughEntries(ProcessList* this, bool pauseProcessUpdate) { FreeBSDProcessList* fpl = (FreeBSDProcessList*) this; - Settings* settings = this->settings; + const Settings* settings = this->settings; bool hideKernelThreads = settings->hideKernelThreads; bool hideUserlandThreads = settings->hideUserlandThreads; |