Clear signed/unsigned comparision compiler warning
STL list is uint, vs int of index being compared
This commit is contained in:
committed by
Raphael Coeffic
parent
9cd4477495
commit
da661a6e03
@@ -272,7 +272,7 @@ class ModelCategoryPageBody : public FormWindow
|
|||||||
.c_str(),
|
.c_str(),
|
||||||
[=] {
|
[=] {
|
||||||
modelslist.removeModel(category, model);
|
modelslist.removeModel(category, model);
|
||||||
update(index < category->size() - 1 ? index : index - 1);
|
update((unsigned)index < category->size() - 1 ? index : index - 1);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user