Skip to content

Commit

Permalink
humanTimeUnit 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed Dec 22, 2024
1 parent a70a155 commit 2fa9945
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 @@ -45,7 +45,7 @@ static int humanTimeUnit(char* buffer, size_t size, unsigned long long int value
value /= 100;

if (value < 1000)
return xSnprintf(buffer, size, "%2llu.%lluus", value / 10, value % 10);
return xSnprintf(buffer, size, "%2u.%uus", (unsigned int)value / 10, (unsigned int)value % 10);

value /= 10; // microseconds

Expand Down

0 comments on commit 2fa9945

Please sign in to comment.