From a11d01568c5e7bc5570fd48fa0703d837c4bcd84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 17 Feb 2021 17:38:35 +0100 Subject: Use unsigned types for CPU counts and associated variables --- linux/Platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/Platform.h') diff --git a/linux/Platform.h b/linux/Platform.h index 299d261a..fbf8be36 100644 --- a/linux/Platform.h +++ b/linux/Platform.h @@ -48,7 +48,7 @@ void Platform_getLoadAverage(double* one, double* five, double* fifteen); int Platform_getMaxPid(void); -double Platform_setCPUValues(Meter* this, int cpu); +double Platform_setCPUValues(Meter* this, unsigned int cpu); void Platform_setMemoryValues(Meter* this); -- cgit v1.2.3