summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorNathan Scott <natoscott@users.noreply.github.com>2021-03-02 13:34:52 +1100
committerGitHub <noreply@github.com>2021-03-02 13:34:52 +1100
commit29570c01331591235ea44edc4983bfcae251c1fb (patch)
tree60845aab93225a19711365af2eb57e415b80e1a2 /freebsd
parent3fe297aa978e7e56de740422db50a03285ac9672 (diff)
parentb4736228dca3767020bd29544ac0a44130e221fd (diff)
Merge pull request #550 from natoscott/diskio-types
Fix integer sizing issues in the DiskIO Meter
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/Platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/Platform.c b/freebsd/Platform.c
index 74007472..1d35819a 100644
--- a/freebsd/Platform.c
+++ b/freebsd/Platform.c
@@ -289,7 +289,7 @@ bool Platform_getDiskIO(DiskIOData* data) {
int count = current.dinfo->numdevs;
- unsigned long int bytesReadSum = 0, bytesWriteSum = 0, timeSpendSum = 0;
+ unsigned long long int bytesReadSum = 0, bytesWriteSum = 0, timeSpendSum = 0;
// get data
for (int i = 0; i < count; i++) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy