summaryrefslogtreecommitdiffstats
path: root/modules/metadata/mod_unique_id.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-04-25 21:57:32 +0200
committerJeff Trawick <trawick@apache.org>2002-04-25 21:57:32 +0200
commit472d9e13cb84772397868c8f64897aad0190f069 (patch)
tree2c8b0ec12da9f6a6b9bf36470ca7e9fa1b5f1629 /modules/metadata/mod_unique_id.c
parentCorrect SSI time format reference. (diff)
downloadapache2-472d9e13cb84772397868c8f64897aad0190f069.tar.xz
apache2-472d9e13cb84772397868c8f64897aad0190f069.zip
fix a compiler error with picky compilers that (correctly) don't let
you add to void * git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94804 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/metadata/mod_unique_id.c')
-rw-r--r--modules/metadata/mod_unique_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/metadata/mod_unique_id.c b/modules/metadata/mod_unique_id.c
index 8b9eeccbf6..3ade5c2161 100644
--- a/modules/metadata/mod_unique_id.c
+++ b/modules/metadata/mod_unique_id.c
@@ -222,7 +222,7 @@ static int unique_id_global_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *pt
#if APR_HAVE_IPV6
if ((rv = apr_sockaddr_info_get(&sockaddr, str, AF_INET6, 0, 0, p)) == APR_SUCCESS) {
memcpy(&global_in_addr,
- sockaddr->ipaddr_ptr + sockaddr->ipaddr_len - sizeof(global_in_addr),
+ (char *)sockaddr->ipaddr_ptr + sockaddr->ipaddr_len - sizeof(global_in_addr),
sizeof(global_in_addr));
ap_log_error(APLOG_MARK, APLOG_ALERT, rv, main_server,
"mod_unique_id: using low-order bits of IPv6 address "