소스 검색

Suppress compiler warning

Scott Lahteine 5 년 전
부모
커밋
bb0bcbaec0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/src/sd/cardreader.cpp

+ 1
- 1
Marlin/src/sd/cardreader.cpp 파일 보기

@@ -800,7 +800,7 @@ void CardReader::setroot() {
800 800
 
801 801
       // Never sort more than the max allowed
802 802
       // If you use folders to organize, 20 may be enough
803
-      NOMORE(fileCnt, SDSORT_LIMIT);
803
+      NOMORE(fileCnt, uint16_t(SDSORT_LIMIT));
804 804
 
805 805
       // Sort order is always needed. May be static or dynamic.
806 806
       #if ENABLED(SDSORT_DYNAMIC_RAM)

Loading…
취소
저장