浏览代码

Silence signed/unsigned comparison warning. (#13508)

Marcio Teixeira 6 年前
父节点
当前提交
c6466c23fe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/gcode/motion/G2_G3.cpp

+ 1
- 1
Marlin/src/gcode/motion/G2_G3.cpp 查看文件

@@ -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

正在加载...
取消
保存