Merge pull request #5238 from akva2/fix_flows_regression

fixed: if we write the size as a size_t we better read it as a size_t
This commit is contained in:
Bård Skaflestad
2024-03-01 09:52:13 +01:00
committed by GitHub

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;