Fix compiler warnings

This commit is contained in:
wmayer
2024-06-02 14:02:27 +02:00
committed by wwmayer
parent 859d47bac7
commit 26714820cd
5 changed files with 11 additions and 8 deletions

View File

@@ -2840,7 +2840,7 @@ void PropertyMaterialList::setDiffuseColors(const std::vector<App::Color>& color
aboutToSetValue();
setSize(colors.size(), _lValueList[0]);
for (int i = 0; i < colors.size(); i++) {
for (std::size_t i = 0; i < colors.size(); i++) {
_lValueList[i].diffuseColor = colors[i];
}
hasSetValue();