Skip to content

Commit 61b50dc

Browse files
committed
humanTimeUnit 16b
1 parent 18dbe87 commit 61b50dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linux/GPUMeter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static int humanTimeUnit(char* buffer, size_t size, unsigned long long int value
6060
value /= 10; // milliseconds
6161

6262
if (value < 10000)
63-
return xSnprintf(buffer, size, "%u.%03us", (unsigned int)(value / 1000), (unsigned int)(value % 1000));
63+
return xSnprintf(buffer, size, "%llu.%03llus", value / 1000, value % 1000);
6464

6565
value /= 10;
6666

0 commit comments

Comments
 (0)