You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2011/08/30 15:14:14 UTC

svn commit: r1163197 - /httpd/httpd/trunk/modules/http/byterange_filter.c

Author: rpluem
Date: Tue Aug 30 13:14:14 2011
New Revision: 1163197

URL: http://svn.apache.org/viewvc?rev=1163197&view=rev
Log:
* Silence compiler warning

Modified:
    httpd/httpd/trunk/modules/http/byterange_filter.c

Modified: httpd/httpd/trunk/modules/http/byterange_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/byterange_filter.c?rev=1163197&r1=1163196&r2=1163197&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/byterange_filter.c (original)
+++ httpd/httpd/trunk/modules/http/byterange_filter.c Tue Aug 30 13:14:14 2011
@@ -221,7 +221,7 @@ static apr_status_t copy_brigade_range(a
                         }
                     }
                     if (end64 < off_last + (apr_uint64_t)copy->length - 1) {
-                        rv = apr_bucket_split(copy, end64 + 1 - off_last);
+                        rv = apr_bucket_split(copy, (apr_size_t)(end64 + 1 - off_last));
                         if (rv != APR_SUCCESS) {
                             apr_brigade_cleanup(bbout);
                             return rv;