summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-02-17 14:19:06 +0100
committerAnatol Belski <ab@php.net>2018-02-17 14:19:06 +0100
commitb2cd27412223520c08b649a338f9bdd8fd570558 (patch)
tree91dc9b83c34dae0b0b1c45e1e6efede9f9cc3d5e
parentf4705b77ff6018056c7855ba5d7537874ff57b49 (diff)
downloadphp-git-b2cd27412223520c08b649a338f9bdd8fd570558.tar.gz
Remove unnecessary cast
-rw-r--r--ext/iconv/iconv.c2
1 files changed, 1 insertions, 1 deletions
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);
}