Fix compiler warnings

This commit is contained in:
Lawrence Lee
2024-11-17 15:39:07 -08:00
parent 4e9ceff1e9
commit cf20964b59
4 changed files with 3 additions and 17 deletions

View File

@@ -1273,7 +1273,7 @@ void Options::readFromFile(Glib::ustring fname)
std::map<std::string, int> checkedExtensions;
if (parseExtensions.size() == parseExtensionsEnabled.size()) {
for (auto i = 0; i < parseExtensions.size(); ++i) {
for (unsigned i = 0; i < parseExtensions.size(); ++i) {
checkedExtensions[parseExtensions[i]] = parseExtensionsEnabled[i];
}
}