From 08d85e61435e43ade490ecef16437f93c0d88bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sun, 4 Oct 2020 17:55:08 +0200 Subject: Mark Object classes and Object class fields const --- Process.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Process.h') diff --git a/Process.h b/Process.h index dd9c052c..2ff7f5e0 100644 --- a/Process.h +++ b/Process.h @@ -129,7 +129,7 @@ typedef struct ProcessClass_ { const Process_WriteField writeField; } ProcessClass; -#define As_Process(this_) ((ProcessClass*)((this_)->super.klass)) +#define As_Process(this_) ((const ProcessClass*)((this_)->super.klass)) #define Process_getParentPid(process_) (process_->tgid == process_->pid ? process_->ppid : process_->tgid) -- cgit v1.2.3