Clear signed/unsigned comparision compiler warning

STL list is uint, vs int of index being compared
This commit is contained in:
Peter Feerick
2021-07-12 08:21:48 +02:00
committed by Raphael Coeffic
parent 9cd4477495
commit da661a6e03
+1 -1
View File
@@ -272,7 +272,7 @@ class ModelCategoryPageBody : public FormWindow
.c_str(),
[=] {
modelslist.removeModel(category, model);
update(index < category->size() - 1 ? index : index - 1);
update((unsigned)index < category->size() - 1 ? index : index - 1);
});
});
}