git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@280013
13f79535-47bb-0310-9956-
ffa450edef68
}
-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;
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. */