소스 검색

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

Loading…
취소
저장