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 --- ProcessList.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ProcessList.h') diff --git a/ProcessList.h b/ProcessList.h index d4fd1f60..bfbe0ab3 100644 --- a/ProcessList.h +++ b/ProcessList.h @@ -59,10 +59,10 @@ typedef struct ProcessList_ { bool topologyOk; #endif - int totalTasks; - int runningTasks; - int userlandThreads; - int kernelThreads; + unsigned int totalTasks; + unsigned int runningTasks; + unsigned int userlandThreads; + unsigned int kernelThreads; memory_t totalMem; memory_t usedMem; @@ -75,7 +75,7 @@ typedef struct ProcessList_ { memory_t usedSwap; memory_t cachedSwap; - int cpuCount; + unsigned int cpuCount; time_t scanTs; } ProcessList; -- cgit v1.2.3