X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_ImportPart.cpp;h=e63d5ee9c0109b8265e43e291f243e405b21da8e;hb=8f43b985d2f7170b8dfa06abd3edc7d6cb0c2e1f;hp=0f8b06c0934cd8b944d8c9874ce99922a85d3448;hpb=50a8df0c6a66da8067b16155e5ae39f8f26a7ebc;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_ImportPart.cpp b/src/ExchangePlugin/ExchangePlugin_ImportPart.cpp index 0f8b06c09..e63d5ee9c 100644 --- a/src/ExchangePlugin/ExchangePlugin_ImportPart.cpp +++ b/src/ExchangePlugin/ExchangePlugin_ImportPart.cpp @@ -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());