Skip to content

Commit 91512db

Browse files
committed
fixup
1 parent 0f0a534 commit 91512db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Zend/zend_partial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static zp_names *zp_assign_names(uint32_t argc, zval *argv,
182182
zend_array *extra_named_params)
183183
{
184184
zp_names *names = zend_arena_calloc(&CG(ast_arena),
185-
1, XtOffsetOf(zp_names, params) + sizeof(zend_string*) * argc);
185+
1, offsetof(zp_names, params) + sizeof(zend_string*) * argc);
186186

187187
/* Assign names for params. We never rename those. */
188188
for (uint32_t offset = 0; offset < MIN(argc, function->common.num_args); offset++) {

0 commit comments

Comments
 (0)