]> granicus.if.org Git - apache/commitdiff
Address a signedness warning. No cleaner solutions here.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 13 Dec 2001 16:41:43 +0000 (16:41 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 13 Dec 2001 16:41:43 +0000 (16:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92450 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index f71d7dfb677372d29c0bbb6ca2e3578790795f1b..56e7e799d43207c1f746a9050b3492fcf3634d4f 100644 (file)
@@ -257,7 +257,7 @@ AP_DECLARE(int) ap_rgetline(char **s, int n, request_rec *r, int fold)
             AP_DEBUG_ASSERT(!APR_BRIGADE_EMPTY(req_cfg->bb));
             break;
         }
-        if (total + length - 1 < n) {
+        if (total + (int)length - 1 < n) {
             if (!*s) {
                 *s = apr_palloc(r->pool, length + 2); /* +2 for LF, null */
             }