Salome HOME
Correct boost headers variable
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_SObject.cxx
index 7fd58296633c764ed82449ac1d3d150271fd2d9a..3858a9e55954d33701446143b6e12b7d8f16424a 100644 (file)
@@ -226,7 +226,7 @@ std::vector<_PTR(GenericAttribute)> SALOMEDS_SObject::GetAllAttributes()
   if (_isLocal) {
     SALOMEDS::Locker lock;
     std::vector<DF_Attribute*> aSeq = _local_impl->GetAllAttributes();
-    aLength = aSeq.size();
+    aLength = (int)aSeq.size(); //!< TODO: conversion from size_t to int
     for (int i = 0; i < aLength; i++) {
       anAttr = SALOMEDS_GenericAttribute::CreateAttribute(dynamic_cast<SALOMEDSImpl_GenericAttribute*>(aSeq[i]));
       aVector.push_back(_PTR(GenericAttribute)(anAttr));