Browse Source

Followup to #4574, specify L for long

Scott Lahteine 8 years ago
parent
commit
01f1f779a5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd_impl_DOGM.h

+ 1
- 1
Marlin/ultralcd_impl_DOGM.h View File

@@ -384,7 +384,7 @@ static void lcd_implementation_status_screen() {
384 384
 
385 385
     char buffer[10];
386 386
     duration_t elapsed = print_job_timer.duration();
387
-    bool has_days = (elapsed.value > 60*60*24);
387
+    bool has_days = (elapsed.value > 60*60*24L);
388 388
     elapsed.toDigital(buffer, has_days);
389 389
 
390 390
     u8g.setPrintPos(has_days ? 71 : 80, 48);

Loading…
Cancel
Save