Skip to content

Commit

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

if (value < 365)
return xSnprintf(buffer, size, "%5llud", value);
return xSnprintf(buffer, size, "%5ud", (unsigned int)value);

if (value < 3650)
return xSnprintf(buffer, size, "%lluy%03llud", value / 365, value % 365);
Expand Down

0 comments on commit d46d2dd

Please sign in to comment.