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 --- solaris/Platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'solaris') diff --git a/solaris/Platform.c b/solaris/Platform.c index 4a5daee6..5f737342 100644 --- a/solaris/Platform.c +++ b/solaris/Platform.c @@ -185,11 +185,11 @@ double Platform_setCPUValues(Meter* this, int cpu) { if (this->pl->settings->detailedCPUTime) { v[CPU_METER_KERNEL] = cpuData->systemPercent; v[CPU_METER_IRQ] = cpuData->irqPercent; - Meter_setItems(this, 4); + this->curItems = 4; percent = v[0]+v[1]+v[2]+v[3]; } else { v[2] = cpuData->systemAllPercent; - Meter_setItems(this, 3); + this->curItems = 3; percent = v[0]+v[1]+v[2]; } -- cgit v1.2.3