httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1199435 - /httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
Date Tue, 08 Nov 2011 20:14:12 GMT
Author: rjung
Date: Tue Nov  8 20:14:12 2011
New Revision: 1199435

URL: http://svn.apache.org/viewvc?rev=1199435&view=rev
Log:
Silence compiler warning about signedness differences.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c?rev=1199435&r1=1199434&r2=1199435&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c Tue Nov  8 20:14:12 2011
@@ -257,9 +257,9 @@ static apr_status_t send_begin_request(p
     fcgi_header_to_array(&header, farray);
     fcgi_begin_request_body_to_array(&brb, abrb);
 
-    vec[0].iov_base = farray;
+    vec[0].iov_base = (void *)farray;
     vec[0].iov_len = sizeof(farray);
-    vec[1].iov_base = abrb;
+    vec[1].iov_base = (void *)abrb;
     vec[1].iov_len = sizeof(abrb);
 
     return send_data(conn, vec, 2, &len, 1);
@@ -393,7 +393,7 @@ static apr_status_t send_environment(pro
     fill_in_header(&header, FCGI_PARAMS, request_id, bodylen, 0);
     fcgi_header_to_array(&header, farray);
 
-    vec[0].iov_base = farray;
+    vec[0].iov_base = (void *)farray;
     vec[0].iov_len = sizeof(farray);
     vec[1].iov_base = body;
     vec[1].iov_len = bodylen;
@@ -406,7 +406,7 @@ static apr_status_t send_environment(pro
     fill_in_header(&header, FCGI_PARAMS, request_id, 0, 0);
     fcgi_header_to_array(&header, farray);
 
-    vec[0].iov_base = farray;
+    vec[0].iov_base = (void *)farray;
     vec[0].iov_len = sizeof(farray);
 
     return send_data(conn, vec, 1, &len, 1);
@@ -617,7 +617,7 @@ static apr_status_t dispatch(proxy_conn_
                            (apr_uint16_t) writebuflen, 0);
             fcgi_header_to_array(&header, farray);
 
-            vec[nvec].iov_base = farray;
+            vec[nvec].iov_base = (void *)farray;
             vec[nvec].iov_len = sizeof(farray);
             ++nvec;
             if (writebuflen) {
@@ -638,7 +638,7 @@ static apr_status_t dispatch(proxy_conn_
                     fill_in_header(&header, FCGI_STDIN, request_id, 0, 0);
                     fcgi_header_to_array(&header, farray);
 
-                    vec[0].iov_base = farray;
+                    vec[0].iov_base = (void *)farray;
                     vec[0].iov_len = sizeof(farray);
 
                     rv = send_data(conn, vec, 1, &len, 1);



Mime
View raw message