Salome HOME
[ICoCo]: ICoCo part as a new sub library: libmedicoco.so
[tools/medcoupling.git] / src / ParaMEDMEM / ProcessorGroup.hxx
index 327bdf7e89b162917d225ff456dde710bb3b13c1..1e008e4b2ef3c86725206fe88c194986f4a486bf 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
@@ -49,7 +49,7 @@ namespace MEDCoupling
     virtual void intersect (ProcessorGroup&) = 0;
     bool contains(int rank) const { return _proc_ids.find(rank)!=_proc_ids.end(); }
     virtual bool containsMyRank() const = 0;
-    int size() const  { return _proc_ids.size(); }
+    int size() const  { return (int)_proc_ids.size(); }
     const CommInterface& getCommInterface()const { return _comm_interface; }
     virtual int myRank() const = 0;
     virtual int translateRank(const ProcessorGroup*, int) const = 0;