mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-15 21:44:36 +03:00
Mark process argument of Process_isThread const
This commit is contained in:

committed by
cgzones

parent
7fa0f19ffd
commit
41eea8a355
@ -128,8 +128,8 @@ long DragonFlyBSDProcess_compare(const void* v1, const void* v2) {
|
||||
}
|
||||
}
|
||||
|
||||
bool Process_isThread(Process* this) {
|
||||
DragonFlyBSDProcess* fp = (DragonFlyBSDProcess*) this;
|
||||
bool Process_isThread(const Process* this) {
|
||||
const DragonFlyBSDProcess* fp = (const DragonFlyBSDProcess*) this;
|
||||
|
||||
if (fp->kernel == 1 )
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user