Skip to content

Commit

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

if (value < 6000)
return xSnprintf(buffer, size, "%2llu.%02llus", value / 100, value % 100);
return xSnprintf(buffer, size, "%2u.%02us", (unsigned int)value / 100, (unsigned int)value % 100);

value /= 100; // seconds

Expand Down

0 comments on commit 87dc9c9

Please sign in to comment.