Skip to content

Commit ed320b5

Browse files
committed
Fix C23 syntax for VS16 (CI runs VS22)
1 parent 16c9652 commit ed320b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/pdo/pdo_stmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ static bool pdo_call_fetch_object_constructor(zend_function *constructor, HashTa
640640
zval retval_constructor_call;
641641
zend_fcall_info fci = {
642642
.size = sizeof(zend_fcall_info),
643-
.function_name = {},
643+
.function_name = { 0 },
644644
.object = Z_OBJ_P(return_value),
645645
.retval = &retval_constructor_call,
646646
.param_count = 0,

ext/spl/spl_iterators.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3086,7 +3086,7 @@ PHP_FUNCTION(iterator_apply)
30863086
spl_iterator_apply_info apply_info = {
30873087
.count = 0,
30883088
.params_ht = NULL,
3089-
.fcc = {},
3089+
.fcc = { 0 },
30903090
};
30913091

30923092
/* The HashTable is used to determine positional arguments */

0 commit comments

Comments
 (0)