diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-02-17 17:38:35 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2021-03-19 23:30:54 +0100 |
commit | a11d01568c5e7bc5570fd48fa0703d837c4bcd84 (patch) | |
tree | 3e298e81123789ed6ae288e5bd32e91ebfb3ff01 /Meter.h | |
parent | 53bcc5cbffbdd69e0e08bd33c5e357dd5b753456 (diff) |
Use unsigned types for CPU counts and associated variables
Diffstat (limited to 'Meter.h')
-rw-r--r-- | Meter.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -95,7 +95,7 @@ struct Meter_ { char* caption; int mode; - int param; + unsigned int param; GraphData* drawData; int h; int columnWidthCount; /*<< only used internally by the Header */ @@ -125,7 +125,7 @@ typedef enum { extern const MeterClass Meter_class; -Meter* Meter_new(const ProcessList* pl, int param, const MeterClass* type); +Meter* Meter_new(const ProcessList* pl, unsigned int param, const MeterClass* type); int Meter_humanUnit(char* buffer, unsigned long int value, size_t size); |