diff --git a/ebos/collecttoiorank_impl.hh b/ebos/collecttoiorank_impl.hh index 72e853d13..a398b914a 100644 --- a/ebos/collecttoiorank_impl.hh +++ b/ebos/collecttoiorank_impl.hh @@ -825,7 +825,7 @@ public: std::string name; buffer.read(name); globalFlows_[i].name = name; - unsigned int size = 0; + std::size_t size = 0; buffer.read(size); for (unsigned int j = 0; j < size; ++j) { int nncIdx;