diff options
author | Nathan Scott <nathans@redhat.com> | 2021-03-02 12:14:44 +1100 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-03-02 12:14:44 +1100 |
commit | 88a11859a0a26de3683f8459611c11ab6b2efb36 (patch) | |
tree | c22ed24ae300b12a83bf55f70be92cec478ca627 /NetworkIOMeter.h | |
parent | 2d1839289eca016893b898dc713cbf1a1df92fc1 (diff) |
Switch NetworkIO Meter to using uint32_t and uint64_t
From review via @BenBE, this is now a whole lot cleaner.
Diffstat (limited to 'NetworkIOMeter.h')
-rw-r--r-- | NetworkIOMeter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/NetworkIOMeter.h b/NetworkIOMeter.h index 5b29fa84..8178b02f 100644 --- a/NetworkIOMeter.h +++ b/NetworkIOMeter.h @@ -4,10 +4,10 @@ #include "Meter.h" typedef struct NetworkIOData_ { - unsigned long long int bytesReceived; - unsigned long long int packetsReceived; - unsigned long long int bytesTransmitted; - unsigned long long int packetsTransmitted; + uint64_t bytesReceived; + uint64_t packetsReceived; + uint64_t bytesTransmitted; + uint64_t packetsTransmitted; } NetworkIOData; extern const MeterClass NetworkIOMeter_class; |