From 01f1f779a54cd981c366ef24cd710f108a628084 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 9 Aug 2016 23:43:37 -0700 Subject: [PATCH] Followup to #4574, specify L for long --- Marlin/ultralcd_impl_DOGM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/ultralcd_impl_DOGM.h b/Marlin/ultralcd_impl_DOGM.h index bbd7ee334..c5353a605 100644 --- a/Marlin/ultralcd_impl_DOGM.h +++ b/Marlin/ultralcd_impl_DOGM.h @@ -384,7 +384,7 @@ static void lcd_implementation_status_screen() { char buffer[10]; 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); u8g.setPrintPos(has_days ? 71 : 80, 48);