Skip to content
Snippets Groups Projects
Commit 484d5ca2 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Small fix

parent 088e4e03
Branches
Tags
No related merge requests found
......@@ -343,7 +343,7 @@ static inline void ck_put_item(ck_hash_table_item_t **to,
static uint ck_check_used_twice(da_array_t *used, uint32_t hash)
{
uint i = 0, found = 0;
while (i <= da_get_count(used) && found < 2) {
while (i < da_get_count(used) && found < 2) {
if (((uint *)(da_get_items(used)))[i] == hash) {
++found;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment