(*htab->free_with_arg_f) (htab->alloc_arg, htab->entries);
if (htab->alloc_with_arg_f != NULL)
htab->entries = (void **) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize,
- sizeof (void **));
+ sizeof (void *));
else
- htab->entries = (void **) (*htab->alloc_f) (nsize, sizeof (void **));
+ htab->entries = (void **) (*htab->alloc_f) (nsize, sizeof (void *));
htab->size = nsize;
htab->size_prime_index = nindex;
}
if (htab->alloc_with_arg_f != NULL)
nentries = (void **) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize,
- sizeof (void **));
+ sizeof (void *));
else
- nentries = (void **) (*htab->alloc_f) (nsize, sizeof (void **));
+ nentries = (void **) (*htab->alloc_f) (nsize, sizeof (void *));
if (nentries == NULL)
return 0;
htab->entries = nentries;