-// Copyright (C) 2014-2021 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
SetOfShapes& theFaces)
{
bool aNewCache = false;
- if (theFaces.size() != theList->size()) {
+ if ((int)theFaces.size() != theList->size()) {
aNewCache = true;
} else {
for (int i = 0; i < theList->size(); i++) {
}
if (myCachedShapes.empty()) {
- for (size_t i = 0; i < aList->size(); i++)
+ for (int i = 0; i < aList->size(); i++)
{
ResultBodyPtr aBaseResult = ModelAPI_Tools::bodyOwner(aList->value(i)->context(), true);
if (!aBaseResult.get()) {