Salome HOME
updated copyright message
[modules/shaper.git] / src / FiltersPlugin / FiltersPlugin_ContinuousFaces.cpp
index f0e0feea96fc7e2e7aaef50e67abd6ad6514238b..1615dfdb9cfb119af5699f0c443db703789f023d 100644 (file)
@@ -1,4 +1,4 @@
-// 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
@@ -111,7 +111,7 @@ static bool updateFaces(const AttributeSelectionListPtr& theList,
                         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++) {
@@ -165,7 +165,7 @@ bool FiltersPlugin_ContinuousFaces::isOk(const GeomShapePtr& theShape, const Res
   }
 
   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()) {