From: William A. Rowe Jr Date: Fri, 17 Jun 2005 16:27:58 +0000 (+0000) Subject: caddr_t is quite non-portable, but a (void*) will do the trick. X-Git-Tag: 2.1.6~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e3f62d979b0a2745719114f1ba3ec3d98b52146;p=apache caddr_t is quite non-portable, but a (void*) will do the trick. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@191174 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_disk_cache.c b/modules/cache/mod_disk_cache.c index d13c440c92..4afce624f9 100644 --- a/modules/cache/mod_disk_cache.c +++ b/modules/cache/mod_disk_cache.c @@ -811,7 +811,7 @@ static apr_status_t store_headers(cache_handle_t *h, request_rec *r, cache_info disk_info.name_len = strlen(dobj->name); - iov[0].iov_base = (caddr_t)&disk_info; + iov[0].iov_base = (void*)&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;