git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@190819
13f79535-47bb-0310-9956-
ffa450edef68
disk_info.name_len = strlen(dobj->name);
- iov[0].iov_base = &disk_info;
+ iov[0].iov_base = (caddr_t)&disk_info;
iov[0].iov_len = sizeof(disk_cache_info_t);
iov[1].iov_base = (void*)dobj->name;
iov[1].iov_len = disk_info.name_len;
/* Cleanup the cache_object_t */
if (obj->key) {
- free(obj->key);
+ free((void*)obj->key);
}
free(obj);
cleanup_cache_object(obj);
return DECLINED;
}
- memcpy(obj->key, key, key_len);
+ memcpy((void*)obj->key, key, key_len);
/* Allocate and init mem_cache_object_t */
mobj = calloc(1, sizeof(*mobj));