Skip to content

Commit 25e1b49

Browse files
committed
Fix warning in zend_execute.c by explicit cast
1 parent 2894bc5 commit 25e1b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_execute.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2487,7 +2487,7 @@ static zend_always_inline void i_cleanup_unfinished_execution(zend_execute_data
24872487
OBJ_RELEASE(Z_OBJ(call->This));
24882488
}
24892489
if (call->func->common.fn_flags & ZEND_ACC_CLOSURE) {
2490-
zend_object_release(call->func->common.prototype);
2490+
zend_object_release((zend_object *) call->func->common.prototype);
24912491
}
24922492
if (call->func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) {
24932493
zend_string_release(call->func->common.function_name);

0 commit comments

Comments
 (0)