Salome HOME
Fix for the issue #19726 : Placement failed because of wrong name in face selection.
[modules/shaper.git] / src / ExchangePlugin / ExchangePlugin_ImportPart.cpp
index 0f8b06c0934cd8b944d8c9874ce99922a85d3448..e63d5ee9c0109b8265e43e291f243e405b21da8e 100644 (file)
@@ -105,7 +105,7 @@ void ExchangePlugin_ImportPart::attributeChanged(const std::string& theID)
           anAcceptedValues.push_back((*aFIt)->name());
       }
 
-      if (aPartsAttr->size() != anAcceptedValues.size())
+      if ((size_t)aPartsAttr->size() != anAcceptedValues.size())
         aTargetAttr->setValue(0);
 
       aPartsAttr->setSize((int)anAcceptedValues.size());