Skip to content

Commit

Permalink
Kill this new and insanely annoying warning
Browse files Browse the repository at this point in the history
Nikita, if this is not the right way to go about it, then please amend it
  • Loading branch information
KalleZ committed Jan 14, 2019
1 parent 3066875 commit 1ff33f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_API.h
Expand Up @@ -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;
}
Expand Down

1 comment on commit 1ff33f3

@krakjoe
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.