Browse Source

Suppress compiler warning

Scott Lahteine 5 years ago
parent
commit
bb0bcbaec0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/sd/cardreader.cpp

+ 1
- 1
Marlin/src/sd/cardreader.cpp View File

800
 
800
 
801
       // Never sort more than the max allowed
801
       // Never sort more than the max allowed
802
       // If you use folders to organize, 20 may be enough
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
       // Sort order is always needed. May be static or dynamic.
805
       // Sort order is always needed. May be static or dynamic.
806
       #if ENABLED(SDSORT_DYNAMIC_RAM)
806
       #if ENABLED(SDSORT_DYNAMIC_RAM)

Loading…
Cancel
Save