From a016407f8167803da41723e24d0a583acf48b6f4 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Fri, 1 Mar 2024 08:38:42 +0100 Subject: [PATCH] fixed: if we write the size as a size_t we better read it as a size_t fixes regression after 7dcc411397baa585dca1fb6b804d074d9c3203d3 --- ebos/collecttoiorank_impl.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;