]> granicus.if.org Git - apache/commitdiff
Killed another warning.
authorGuenter Knauf <fuankg@apache.org>
Sun, 7 Jul 2013 19:39:09 +0000 (19:39 +0000)
committerGuenter Knauf <fuankg@apache.org>
Sun, 7 Jul 2013 19:39:09 +0000 (19:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1500519 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_data.c

index 83284dd2d8a143957354cd187004d81ece344e01..d083d322047c429596233de9f7065da649b773d8 100644 (file)
@@ -109,7 +109,8 @@ static apr_status_t data_out_filter(ap_filter_t *f, apr_bucket_brigade *bb)
             apr_brigade_length(ctx->bb, 1, &len);
             clen = apr_atoi64(content_length);
             if (clen >= 0 && clen < APR_INT32_MAX) {
-                ap_set_content_length(r, len + apr_base64_encode_len(clen) - 1);
+                ap_set_content_length(r, len +
+                                      apr_base64_encode_len((int)clen) - 1);
             }
             else {
                 apr_table_unset(r->headers_out, "Content-Length");