diff options
author | Anatol Belski <ab@php.net> | 2016-11-26 15:18:42 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-11-26 17:29:01 +0100 |
commit | b204b3abd19f86bd9217866189cdebcc6abc0d95 (patch) | |
tree | 324e3c86634583ef7d58bc0f3e19dfbdeb85773c /ext/standard/head.c | |
parent | 1b7e014d1ce21b9eb6021111c1005d047b5b9a1b (diff) | |
download | php-git-b204b3abd19f86bd9217866189cdebcc6abc0d95.tar.gz |
further normalizations, uint vs uint32_t
fix merge mistake
yet one more replacement run
Diffstat (limited to 'ext/standard/head.c')
-rw-r--r-- | ext/standard/head.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/head.c b/ext/standard/head.c index eac9159ab9..b440b19226 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -46,7 +46,7 @@ PHP_FUNCTION(header) &len, &rep, &ctr.response_code) == FAILURE) return; - ctr.line_len = (uint)len; + ctr.line_len = (uint32_t)len; sapi_header_op(rep ? SAPI_HEADER_REPLACE:SAPI_HEADER_ADD, &ctr); } /* }}} */ @@ -62,7 +62,7 @@ PHP_FUNCTION(header_remove) &len) == FAILURE) return; - ctr.line_len = (uint)len; + ctr.line_len = (uint32_t)len; sapi_header_op(ZEND_NUM_ARGS() == 0 ? SAPI_HEADER_DELETE_ALL : SAPI_HEADER_DELETE, &ctr); } /* }}} */ @@ -174,7 +174,7 @@ PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, } ctr.line = cookie; - ctr.line_len = (uint)strlen(cookie); + ctr.line_len = (uint32_t)strlen(cookie); result = sapi_header_op(SAPI_HEADER_ADD, &ctr); efree(cookie); |