Skip to content

Commit 01aa63b

Browse files
committed
humanTimeUnit 6
1 parent d46d2dd commit 01aa63b

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, "%llu.%03llus", value / 1000, value % 1000);
63+
return xSnprintf(buffer, size, "%u.%03us", (unsigned int)value / 1000, (unsigned int)value % 1000);
6464

6565
value /= 10;
6666

0 commit comments

Comments
 (0)