Skip to content

Commit

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

if (value < 2400)
return xSnprintf(buffer, size, "%2llud%02lluh", value / 24, value % 24);
return xSnprintf(buffer, size, "%2ud%02uh", (unsigned int)value / 24, (unsigned int)value % 24);

value /= 24; // days

Expand Down

0 comments on commit c8b1248

Please sign in to comment.