From: William A. Rowe Jr Date: Tue, 5 Oct 2010 17:47:27 +0000 (+0000) Subject: This type fix is needed to quiet type mismatch warnings, nelts is also an int X-Git-Tag: 2.2.17~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bc82dd1ade93904f98c354974f4013c9917ad89;p=thirdparty%2Fapache%2Fhttpd.git This type fix is needed to quiet type mismatch warnings, nelts is also an int git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1004733 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_scgi.c b/modules/proxy/mod_proxy_scgi.c index e152c277b84..b16fe153ef5 100644 --- a/modules/proxy/mod_proxy_scgi.c +++ b/modules/proxy/mod_proxy_scgi.c @@ -246,7 +246,8 @@ static int send_headers(request_rec *r, proxy_conn_rec *conn) const char *ns_len; const apr_array_header_t *env_table; const apr_table_entry_t *env; - apr_size_t j, len, bodylen_size; + int j; + apr_size_t len, bodylen_size; apr_size_t headerlen = sizeof(CONTENT_LENGTH) + sizeof(SCGI_MAGIC) + sizeof(SCGI_PROTOCOL_VERSION);