httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r165621 - /httpd/apreq/trunk/library/util.c
Date Mon, 02 May 2005 12:34:44 GMT
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;
         }



Mime
View raw message