Fix C23 syntax for VS16 (CI runs VS22)

This commit is contained in:
Kalle Sommer Nielsen 2025-01-31 22:28:31 +02:00
parent 16c9652f27
commit ed320b500c
2 changed files with 2 additions and 2 deletions

View file

@ -640,7 +640,7 @@ static bool pdo_call_fetch_object_constructor(zend_function *constructor, HashTa
zval retval_constructor_call;
zend_fcall_info fci = {
.size = sizeof(zend_fcall_info),
.function_name = {},
.function_name = { 0 },
.object = Z_OBJ_P(return_value),
.retval = &retval_constructor_call,
.param_count = 0,

View file

@ -3086,7 +3086,7 @@ PHP_FUNCTION(iterator_apply)
spl_iterator_apply_info apply_info = {
.count = 0,
.params_ht = NULL,
.fcc = {},
.fcc = { 0 },
};
/* The HashTable is used to determine positional arguments */