Fix overflow issue in bitset_last_p (see #81)
This commit is contained in:
1 parent
4dbcfd25b3
commit
ad16b310e1
2 files changed
+9
-2
No files matched your search
@@ -202,7 +202,12 @@ static void test1(void)
|
||||
assert (bitset_end_p(it));
|
||||
|
||||
assert (bitset_hash(set) != 0);
|
||||
|
||||
|
||||
bitset_clean(set);
|
||||
bitset_it(it, set);
|
||||
assert(bitset_end_p(it));
|
||||
assert(bitset_last_p(it));
|
||||
|
||||
bitset_clear(set);
|
||||
bitset_clear(set2);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user