Skip to content

Commit

Permalink
humanTimeUnit 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed Jan 7, 2025
1 parent 404f6ae commit 145b24c
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 @@ -50,7 +50,7 @@ static int humanTimeUnit(char* buffer, size_t size, unsigned long long int value
value /= 10; // microseconds

if (value < 10000)
return xSnprintf(buffer, size, "%4lluus", value);
return xSnprintf(buffer, size, "%4uus", (unsigned int)value);

value /= 100;

Expand Down

0 comments on commit 145b24c

Please sign in to comment.