diff --git a/linux/Platform.c b/linux/Platform.c index 95e0000d..e6c1c08c 100644 --- a/linux/Platform.c +++ b/linux/Platform.c @@ -224,7 +224,7 @@ double Platform_setCPUValues(Meter* this, int cpu) { } void Platform_setMemoryValues(Meter* this) { - ProcessList* pl = (ProcessList*) this->pl; + ProcessList* pl = this->pl; LinuxProcessList* lpl = (LinuxProcessList*) this->pl; long int usedMem = pl->usedMem;