diff --git a/src/gui/userPresets.cpp b/src/gui/userPresets.cpp index 8c2d42c40..14e6f9d7b 100644 --- a/src/gui/userPresets.cpp +++ b/src/gui/userPresets.cpp @@ -192,7 +192,7 @@ void writeSubEntries(FILE* f, std::vector& entries, int depth) String safeName; safeName.reserve(i.name.size()); bool beginning=false; - for (char j: i.name) { + for (unsigned char j: i.name) { if (beginning && j==' ') continue; if (j=='=') continue; if (j<0x20) continue;