You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2005/05/02 14:34:44 UTC

svn commit: r165621 - /httpd/apreq/trunk/library/util.c

Author: joes
Date: Mon May  2 05:34:43 2005
New Revision: 165621

URL: http://svn.apache.org/viewcvs?rev=165621&view=rev
Log:
Need a cast.

Reported by: Philip Gollucci

Modified:
    httpd/apreq/trunk/library/util.c

Modified: httpd/apreq/trunk/library/util.c
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/library/util.c?rev=165621&r1=165620&r2=165621&view=diff
==============================================================================
--- httpd/apreq/trunk/library/util.c (original)
+++ httpd/apreq/trunk/library/util.c Mon May  2 05:34:43 2005
@@ -1178,7 +1178,7 @@
             return s;
 
         /* This cast, when in_len = -1, is intentional */
-        if ((apr_uint64_t)in_len < heap_limit - out_len) {
+        if ((apr_uint64_t)in_len < heap_limit - (apr_uint64_t)out_len) {
             APR_BRIGADE_CONCAT(out, in);
             return APR_SUCCESS;
         }