i->u.ctn_hash_slot = h->htab->entries;
i->cu.ctn_h = h;
i->ctn_n = 0;
- i->ctn_size = (ssize_t) size;
+ i->ctn_size = size;
i->ctn_iter_fun = (void (*) (void)) ctf_dynhash_next;
*it = i;
}
if (h != i->cu.ctn_h)
return ECTF_NEXT_WRONGFP;
- if ((ssize_t) i->ctn_n == i->ctn_size)
+ if (i->ctn_n == i->ctn_size)
goto hash_end;
- while ((ssize_t) i->ctn_n < i->ctn_size
+ while (i->ctn_n < i->ctn_size
&& (*i->u.ctn_hash_slot == HTAB_EMPTY_ENTRY
|| *i->u.ctn_hash_slot == HTAB_DELETED_ENTRY))
{
i->ctn_n++;
}
- if ((ssize_t) i->ctn_n == i->ctn_size)
+ if (i->ctn_n == i->ctn_size)
goto hash_end;
slot = *i->u.ctn_hash_slot;
(int (*) (const void *, const void *, void *)) sort_fun,
sort_arg);
i->ctn_n = 0;
- i->ctn_size = (ssize_t) els;
+ i->ctn_size = els;
i->ctn_iter_fun = (void (*) (void)) ctf_dynhash_next_sorted;
*it = i;
}
if (h != i->cu.ctn_h)
return ECTF_NEXT_WRONGFP;
- if ((ssize_t) i->ctn_n == i->ctn_size)
+ if (i->ctn_n == i->ctn_size)
{
ctf_next_destroy (i);
*it = NULL;
i->u.ctn_hash_slot = htab->entries;
i->cu.ctn_s = hp;
i->ctn_n = 0;
- i->ctn_size = (ssize_t) size;
+ i->ctn_size = size;
i->ctn_iter_fun = (void (*) (void)) ctf_dynset_next;
*it = i;
}
if (hp != i->cu.ctn_s)
return ECTF_NEXT_WRONGFP;
- if ((ssize_t) i->ctn_n == i->ctn_size)
+ if (i->ctn_n == i->ctn_size)
goto set_end;
- while ((ssize_t) i->ctn_n < i->ctn_size
+ while (i->ctn_n < i->ctn_size
&& (*i->u.ctn_hash_slot == HTAB_EMPTY_ENTRY
|| *i->u.ctn_hash_slot == HTAB_DELETED_ENTRY))
{
i->ctn_n++;
}
- if ((ssize_t) i->ctn_n == i->ctn_size)
+ if (i->ctn_n == i->ctn_size)
goto set_end;
slot = *i->u.ctn_hash_slot;