{
void *tmp;
- tmp = realloc(bucket->strings, size * sizeof(bucket->strings[0]));
+ tmp = realloc((void*)bucket->strings, size * sizeof(bucket->strings[0]));
if (!tmp)
{
eina_error_set(EINA_ERROR_OUT_OF_MEMORY);
todo = bucket->count - index;
if (todo > 0)
{
- memmove(bucket->strings + off, bucket->strings + index,
+ memmove((void *)(bucket->strings + off), bucket->strings + index,
todo * sizeof(bucket->strings[0]));
memmove(bucket->lengths + off, bucket->lengths + index,
todo * sizeof(bucket->lengths[0]));
if (bucket->count == 1)
{
- free(bucket->strings);
+ free((void *)bucket->strings);
free(bucket->lengths);
free(bucket->references);
free(bucket);
off = index + 1;
todo = bucket->count - index;
- memmove(bucket->strings + index, bucket->strings + off,
+ memmove((void *)(bucket->strings + index), bucket->strings + off,
todo * sizeof(bucket->strings[0]));
memmove(bucket->lengths + index, bucket->lengths + off,
todo * sizeof(bucket->lengths[0]));
for (; s < s_end; s++)
free(*s);
- free(bucket->strings);
+ free((void *)bucket->strings);
free(bucket->lengths);
free(bucket->references);
free(bucket);