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
// 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.
#if ENABLED(SDSORT_DYNAMIC_RAM)