test: fix ReadTopologicalSet unsigned integer overflow

This commit is contained in:
ismaelsadeeq committed 2025-07-18 14:57:39 +01:00
1 parent 9f713b83dc
commit 31c4e77a25
1 file changed
+1 -1
+1 -1
View File
@@ -304,7 +304,7 @@ SetType ReadTopologicalSet(const DepGraph<SetType>& depgraph, const SetType& tod
try {
reader >> VARINT(mask);
} catch(const std::ios_base::failure&) {}
mask += non_empty;
if (mask != uint64_t(-1)) mask += non_empty;
SetType ret;
for (auto i : todo) {