From: Kalle Sommer Nielsen Date: Mon, 14 Jan 2019 07:05:44 +0000 (+0200) Subject: Kill this new and insanely annoying warning X-Git-Tag: php-7.4.0alpha1~1234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ff33f3161924c3454ea61694bf66d42232d492a;p=php Kill this new and insanely annoying warning Nikita, if this is not the right way to go about it, then please amend it --- diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 27fc6cb011..73bd894909 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -776,7 +776,7 @@ static zend_always_inline zval *zend_try_array_init(zval *zv) { static zend_always_inline zval *zend_try_array_init_size(zval *zv, size_t size) { zval tmp; - ZVAL_ARR(&tmp, zend_new_array(size)); + ZVAL_ARR(&tmp, zend_new_array((uint32_t)size)); if (UNEXPECTED(zend_try_assign(zv, &tmp) == FAILURE)) { return NULL; }