]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Silence compiler warning
authorRuediger Pluem <rpluem@apache.org>
Tue, 30 Aug 2011 13:14:14 +0000 (13:14 +0000)
committerRuediger Pluem <rpluem@apache.org>
Tue, 30 Aug 2011 13:14:14 +0000 (13:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1163197 13f79535-47bb-0310-9956-ffa450edef68

modules/http/byterange_filter.c

index 70fa1fe29a89dba2e711fddc328c71282d6343dc..c8dee1d356237c7486c51f8343b4411da3864716 100644 (file)
@@ -221,7 +221,7 @@ static apr_status_t copy_brigade_range(apr_bucket_brigade *bb,
                         }
                     }
                     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;