diff --git a/ext/standard/head.c b/ext/standard/head.c index 7d223c646f2..1177bae698e 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -44,7 +44,7 @@ PHP_FUNCTION(header) ZEND_PARSE_PARAMETERS_END(); ctr.line = line; - ctr.line_len = (uint32_t)len; + ctr.line_len = len; sapi_header_op(rep ? SAPI_HEADER_REPLACE:SAPI_HEADER_ADD, &ctr); } /* }}} */ @@ -62,7 +62,7 @@ PHP_FUNCTION(header_remove) ZEND_PARSE_PARAMETERS_END(); ctr.line = line; - ctr.line_len = (uint32_t)len; + ctr.line_len = len; sapi_header_op(line == NULL ? SAPI_HEADER_DELETE_ALL : SAPI_HEADER_DELETE, &ctr); } /* }}} */