Salome HOME
use vtkIdType to be independant of architecture
[modules/smesh.git] / src / SMDS / SMDS_VtkCellIterator.cxx
index 0a4163bb9f98f2ef6ad387f7e242d3f8ffa631f8..cd0af3a487bc02df0b7d4c1707a5a2f969a55cb7 100644 (file)
@@ -105,7 +105,7 @@ SMDS_VtkCellIteratorToUNV::SMDS_VtkCellIteratorToUNV(SMDS_Mesh* mesh, int vtkCel
   _vtkIdList = vtkIdList::New();
   vtkIdType* pts;
   vtkUnstructuredGrid* grid = _mesh->getGrid();
-  grid->GetCellPoints(_cellId, _nbNodes, pts);
+  grid->GetCellPoints((vtkIdType)_cellId, (vtkIdType&)_nbNodes, pts);
   _vtkIdList->SetNumberOfIds(_nbNodes);
   int *ids = 0;
   switch (_type)