From ea5640f1425e28572e965a8a99450c3fda00b7da Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Mon, 7 May 2001 10:01:31 +0000 Subject: [PATCH] fix the type of a parameter to ap_get_brigade() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89045 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_request.c | 2 +- server/protocol.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/http/http_request.c b/modules/http/http_request.c index a2a03827e4..95c353b6f1 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -367,7 +367,7 @@ static void check_pipeline_flush(request_rec *r) ### allow us to defer creation of the brigade to when we actually ### need to send a FLUSH. */ apr_bucket_brigade *bb = apr_brigade_create(r->pool); - int zero = 0; + apr_size_t zero = 0; /* Flush the filter contents if: * diff --git a/server/protocol.c b/server/protocol.c index bd9d268c69..1842a7ebbb 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -217,7 +217,7 @@ AP_CORE_DECLARE(int) ap_getline(char *s, int n, request_rec *r, int fold) while (1) { if (APR_BRIGADE_EMPTY(b)) { - int zero = 0; + apr_size_t zero = 0; if ((retval = ap_get_brigade(c->input_filters, b, AP_MODE_BLOCKING, &zero /* readline */)) != APR_SUCCESS || -- 2.40.0