fixed: if we write the size as a size_t we better read it as a size_t

fixes regression after 7dcc411397
This commit is contained in:
Arne Morten Kvarving 2024-03-01 08:38:42 +01:00
parent bb85fc9939
commit a016407f81

View File

@ -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;