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
commit 56b492069b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;