From c6466c23fe256669659bd744bb5fd40829936f93 Mon Sep 17 00:00:00 2001 From: Marcio Teixeira Date: Fri, 29 Mar 2019 12:33:45 -0600 Subject: [PATCH] Silence signed/unsigned comparison warning. (#13508) --- Marlin/src/gcode/motion/G2_G3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/gcode/motion/G2_G3.cpp b/Marlin/src/gcode/motion/G2_G3.cpp index 4904b7e729..da07525dcf 100644 --- a/Marlin/src/gcode/motion/G2_G3.cpp +++ b/Marlin/src/gcode/motion/G2_G3.cpp @@ -85,7 +85,7 @@ void plan_arc( if (angular_travel < 0) angular_travel += RADIANS(360); #ifdef MIN_ARC_SEGMENTS uint16_t min_segments = CEIL((MIN_ARC_SEGMENTS) * (angular_travel / RADIANS(360))); - NOLESS(min_segments, 1); + NOLESS(min_segments, 1U); #else constexpr uint16_t min_segments = 1; #endif