From 9a3bcd77948450ed9991ab4143718ea84a223c60 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Sun, 7 Jul 2013 19:39:09 +0000 Subject: [PATCH] Killed another warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1500519 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/filters/mod_data.c b/modules/filters/mod_data.c index 83284dd2d8..d083d32204 100644 --- a/modules/filters/mod_data.c +++ b/modules/filters/mod_data.c @@ -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"); -- 2.40.0