Browse Source

Silence signed/unsigned comparison warning. (#13508)

Marcio Teixeira 6 years ago
parent
commit
c6466c23fe
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/motion/G2_G3.cpp

+ 1
- 1
Marlin/src/gcode/motion/G2_G3.cpp View File

@@ -85,7 +85,7 @@ void plan_arc(
85 85
   if (angular_travel < 0) angular_travel += RADIANS(360);
86 86
   #ifdef MIN_ARC_SEGMENTS
87 87
     uint16_t min_segments = CEIL((MIN_ARC_SEGMENTS) * (angular_travel / RADIANS(360)));
88
-    NOLESS(min_segments, 1);
88
+    NOLESS(min_segments, 1U);
89 89
   #else
90 90
     constexpr uint16_t min_segments = 1;
91 91
   #endif

Loading…
Cancel
Save