]> granicus.if.org Git - apache/commitdiff
fix the type of a parameter to ap_get_brigade()
authorJeff Trawick <trawick@apache.org>
Mon, 7 May 2001 10:01:31 +0000 (10:01 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 7 May 2001 10:01:31 +0000 (10:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89045 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c
server/protocol.c

index a2a03827e4aa799cffee8eb438d3442a6ac2c856..95c353b6f12d6a39b6eeac82a9fab4165713fae2 100644 (file)
@@ -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:
      *
index bd9d268c69f1546f851ca3f123d4e3a6f1b51786..1842a7ebbb499d702ced97d0620e030176503612 100644 (file)
@@ -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 ||