1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 15:26:18 +00:00

Suppress compiler warning

This commit is contained in:
Scott Lahteine 2019-06-18 23:25:56 -05:00
parent 52383633e7
commit bb0bcbaec0

View File

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