Salome HOME
[ICoCo]: ICoCo part as a new sub library: libmedicoco.so
[tools/medcoupling.git] / src / ParaMEDMEM / ComponentTopology.hxx
index 9b84607a382a55982a4a8ba08e3f1e29b387000e..025f5a517d9ce39de6d725f1b3a3df33f3089069 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -24,7 +24,7 @@
 
 #include <vector>
 
-namespace ParaMEDMEM
+namespace MEDCoupling
 {
   class ProcessorGroup;
 
@@ -51,7 +51,7 @@ namespace ParaMEDMEM
     //!returns the number of the first MED component on local processor
     int firstLocalComponent() const ;
     //!returns the number of blocks in the topology
-    int nbBlocks()const {return _component_array.size()-1;}
+    int nbBlocks()const {return (int)_component_array.size()-1;}
     //!returns the block structure
     const std::vector<int>* getBlockIndices() const { return &_component_array; }
     const ProcessorGroup* getProcGroup()const { return _proc_group; }