Kill this new and insanely annoying warning

Nikita, if this is not the right way to go about it, then please amend it
This commit is contained in:
Kalle Sommer Nielsen 2019-01-14 09:05:44 +02:00
parent 30668755b6
commit 1ff33f3161

View File

@ -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) { static zend_always_inline zval *zend_try_array_init_size(zval *zv, size_t size) {
zval tmp; 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)) { if (UNEXPECTED(zend_try_assign(zv, &tmp) == FAILURE)) {
return NULL; return NULL;
} }