Skip to content

Commit

Permalink
humanTimeUnit 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed Dec 21, 2024
1 parent d6f79c3 commit e38e555
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 @@ -40,7 +40,7 @@ static const int GPUMeter_attributes[] = {

static int humanTimeUnit(char* buffer, size_t size, unsigned long long int value) {
if (value < 10000)
return xSnprintf(buffer, size, "%4lluns", value);
return xSnprintf(buffer, size, "%4uns", (unsigned int)value);

value /= 100;

Expand Down

0 comments on commit e38e555

Please sign in to comment.