Explorar el Código

Suppress compiler warning

Scott Lahteine hace 5 años
padre
commit
bb0bcbaec0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/src/sd/cardreader.cpp

+ 1
- 1
Marlin/src/sd/cardreader.cpp Ver fichero

@@ -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…
Cancelar
Guardar