Followup to #4574, specify L for long
This commit is contained in:
parent
fa2467a834
commit
01f1f779a5
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ static void lcd_implementation_status_screen() {
|
||||||
|
|
||||||
char buffer[10];
|
char buffer[10];
|
||||||
duration_t elapsed = print_job_timer.duration();
|
duration_t elapsed = print_job_timer.duration();
|
||||||
bool has_days = (elapsed.value > 60*60*24);
|
bool has_days = (elapsed.value > 60*60*24L);
|
||||||
elapsed.toDigital(buffer, has_days);
|
elapsed.toDigital(buffer, has_days);
|
||||||
|
|
||||||
u8g.setPrintPos(has_days ? 71 : 80, 48);
|
u8g.setPrintPos(has_days ? 71 : 80, 48);
|
||||||
|
|
Reference in a new issue