Suppress signed/unsigned comparison in assert().
This commit is contained in:
parent
14050875f6
commit
3cb7fd0de0
@ -112,7 +112,7 @@ hash_set_expand(size_t m, struct hash_set *t)
|
|||||||
|
|
||||||
for (i = 0; i < t->m; i++) {
|
for (i = 0; i < t->m; i++) {
|
||||||
ret = hash_set_insert_core(t->s[i], m, s);
|
ret = hash_set_insert_core(t->s[i], m, s);
|
||||||
assert (ret < m);
|
assert ((size_t) ret < m);
|
||||||
}
|
}
|
||||||
|
|
||||||
p = t->s;
|
p = t->s;
|
||||||
|
Loading…
Reference in New Issue
Block a user