From: Jeff Trawick Date: Tue, 6 Jan 2009 15:05:33 +0000 (+0000) Subject: the length arguments are apr_size_t, not int X-Git-Tag: 2.3.2~217 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40e24b32ddc07a7fd829743b81441f7beacbb700;p=thirdparty%2Fapache%2Fhttpd.git the length arguments are apr_size_t, not int git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@731965 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index b9e56ec2f49..6eabbfedb2e 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -354,7 +354,7 @@ static apr_status_t sock_writev(int fd, request_rec *r, int count, ...) va_start(ap, count); for (i = 0; i < count; i++) { vec[i].iov_base = va_arg(ap, caddr_t); - vec[i].iov_len = va_arg(ap, int); + vec[i].iov_len = va_arg(ap, apr_size_t); total_bytes += vec[i].iov_len; } va_end(ap);