Skip to content

Commit

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

if (value < 3600)
return xSnprintf(buffer, size, "%2llum%02llus", value / 60, value % 60);
return xSnprintf(buffer, size, "%2um%02us", (unsigned int)value / 60, (unsigned int)value % 60);

value /= 60; // minutes

Expand Down

0 comments on commit 097889e

Please sign in to comment.