From d7a8b67102617e5d6c696bc96fbf5a5dd7ad0c9e Mon Sep 17 00:00:00 2001 From: Jean-Frederic Clere Date: Tue, 30 Oct 2007 11:21:11 +0000 Subject: [PATCH] Otherwise it doesn't compile on HP-UX when using cc. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@590038 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/mod_proxy_fcgi.c | 2 +- server/core_filters.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c index bdc2470f8f..2ca1ced966 100644 --- a/modules/proxy/mod_proxy_fcgi.c +++ b/modules/proxy/mod_proxy_fcgi.c @@ -194,7 +194,7 @@ static apr_status_t send_data(proxy_conn_rec *conn, n -= vec[i++].iov_len; } else { vec[i].iov_len -= n; - vec[i].iov_base += n; + vec[i].iov_base = (char *) vec[i].iov_base + n; break; } } diff --git a/server/core_filters.c b/server/core_filters.c index 5ea2c38870..e9d3865a99 100644 --- a/server/core_filters.c +++ b/server/core_filters.c @@ -712,7 +712,7 @@ static apr_status_t writev_nonblocking(apr_socket_t *s, APR_BUCKET_REMOVE(bucket); apr_bucket_destroy(bucket); vec[i].iov_len -= n; - vec[i].iov_base += n; + vec[i].iov_base = (char *) vec[i].iov_base + n; break; } } -- 2.40.0