We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64efa16 commit ddc3679Copy full SHA for ddc3679
darwin/Platform.c
@@ -404,7 +404,7 @@ bool Platform_getDiskIO(DiskIOData* data) {
404
if (IOServiceGetMatchingServices(iokit_port, IOServiceMatching("IOBlockStorageDriver"), &drive_list))
405
return false;
406
407
- unsigned long long int read_sum = 0, write_sum = 0, timeSpend_sum = 0;
+ uint64_t read_sum = 0, write_sum = 0, timeSpend_sum = 0;
408
uint64_t numDisks = 0;
409
410
io_registry_entry_t drive;
@@ -437,7 +437,7 @@ bool Platform_getDiskIO(DiskIOData* data) {
437
numDisks++;
438
439
CFNumberRef number;
440
- unsigned long long int value;
+ uint64_t value;
441
442
/* Get bytes read */
443
number = (CFNumberRef) CFDictionaryGetValue(statistics, CFSTR(kIOBlockStorageDriverStatisticsBytesReadKey));
0 commit comments