From 7429c22201ed0b78a4bcd27ba3d29dcda2c6509c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 20 Oct 2020 22:29:16 +0200 Subject: [PATCH] Drop unnecessary cast --- linux/Platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;