httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r290139 - /httpd/httpd/branches/2.2.x/modules/proxy/ajp_link.c
Date Mon, 19 Sep 2005 12:38:54 GMT
Author: jim
Date: Mon Sep 19 05:38:51 2005
New Revision: 290139

URL: http://svn.apache.org/viewcvs?rev=290139&view=rev
Log:
Backport r280013 from trunk:

gcc -Wall fix: depending on signedness of char.

Modified:
    httpd/httpd/branches/2.2.x/modules/proxy/ajp_link.c

Modified: httpd/httpd/branches/2.2.x/modules/proxy/ajp_link.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/modules/proxy/ajp_link.c?rev=290139&r1=290138&r2=290139&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/proxy/ajp_link.c (original)
+++ httpd/httpd/branches/2.2.x/modules/proxy/ajp_link.c Mon Sep 19 05:38:51 2005
@@ -51,7 +51,7 @@
 }
 
 
-static apr_status_t ilink_read(apr_socket_t *sock, char * buf,
+static apr_status_t ilink_read(apr_socket_t *sock, apr_byte_t *buf,
                                apr_size_t len)
 {
     apr_size_t   length = len;
@@ -60,7 +60,7 @@
 
     while (rdlen < len) {
 
-        status = apr_socket_recv(sock, buf + rdlen, &length);
+        status = apr_socket_recv(sock, (char *)(buf + rdlen), &length);
 
         if (status == APR_EOF)
             return status;          /* socket closed. */



Mime
View raw message