summaryrefslogtreecommitdiffstats
path: root/linux/LinuxProcess.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/LinuxProcess.h')
-rw-r--r--linux/LinuxProcess.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/LinuxProcess.h b/linux/LinuxProcess.h
index c1eb0ed5..9227dd7f 100644
--- a/linux/LinuxProcess.h
+++ b/linux/LinuxProcess.h
@@ -147,7 +147,7 @@ typedef struct LinuxProcess_ {
char *secattr;
} LinuxProcess;
-#define Process_isKernelThread(_process) (((LinuxProcess*)(_process))->isKernelThread)
+#define Process_isKernelThread(_process) (((const LinuxProcess*)(_process))->isKernelThread)
#define Process_isUserlandThread(_process) (_process->pid != _process->tgid)
@@ -185,6 +185,6 @@ void LinuxProcess_writeField(Process* this, RichString* str, ProcessField field)
long LinuxProcess_compare(const void* v1, const void* v2);
-bool Process_isThread(Process* this);
+bool Process_isThread(const Process* this);
#endif