diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-07 19:02:15 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-09 10:18:40 +0200 |
commit | 41eea8a355d9f8935c2bcb25b4da83cf628f357b (patch) | |
tree | 83cf9e3b334d12f5eabf987f08fafc073e194507 /solaris/SolarisProcess.c | |
parent | 7fa0f19ffdb65019791034f8ff4c9b73edb162b2 (diff) |
Mark process argument of Process_isThread const
Diffstat (limited to 'solaris/SolarisProcess.c')
-rw-r--r-- | solaris/SolarisProcess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solaris/SolarisProcess.c b/solaris/SolarisProcess.c index d0a75dfe..b796c96e 100644 --- a/solaris/SolarisProcess.c +++ b/solaris/SolarisProcess.c @@ -150,8 +150,8 @@ long SolarisProcess_compare(const void* v1, const void* v2) { } } -bool Process_isThread(Process* this) { - SolarisProcess* fp = (SolarisProcess*) this; +bool Process_isThread(const Process* this) { + const SolarisProcess* fp = (const SolarisProcess*) this; if (fp->kernel == 1 ) { return 1; |