From: Anatol Belski Date: Sat, 17 Feb 2018 13:19:06 +0000 (+0100) Subject: Remove unnecessary cast X-Git-Tag: php-7.3.0alpha1~384 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2cd27412223520c08b649a338f9bdd8fd570558;p=php Remove unnecessary cast --- diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c index 42892421a3..6653544de4 100644 --- a/ext/iconv/iconv.c +++ b/ext/iconv/iconv.c @@ -424,7 +424,7 @@ static int php_iconv_output_handler(void **nothing, php_output_context *output_c } else { len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%s", mimetype_len ? mimetype_len : (int) strlen(mimetype), mimetype, get_output_encoding()); } - if (content_type && SUCCESS == sapi_add_header(content_type, (uint32_t)len, 0)) { + if (content_type && SUCCESS == sapi_add_header(content_type, len, 0)) { SG(sapi_headers).send_default_content_type = 0; php_output_handler_hook(PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE, NULL); }