瀏覽代碼

Followup to #4574, specify L for long

Scott Lahteine 8 年之前
父節點
當前提交
01f1f779a5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/ultralcd_impl_DOGM.h

+ 1
- 1
Marlin/ultralcd_impl_DOGM.h 查看文件

@@ -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…
取消
儲存