Skip to content

Commit

Permalink
humanTimeUnit 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed Dec 22, 2024
1 parent d46d2dd commit 01aa63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/GPUMeter.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static int humanTimeUnit(char* buffer, size_t size, unsigned long long int value
value /= 10; // milliseconds

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

value /= 10;

Expand Down

0 comments on commit 01aa63b

Please sign in to comment.