]> granicus.if.org Git - php/commitdiff
Fix warning in zend_execute.c by explicit cast
authorBob Weinand <bobwei9@hotmail.com>
Fri, 26 Jun 2015 18:39:56 +0000 (20:39 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Fri, 26 Jun 2015 18:39:56 +0000 (20:39 +0200)
Zend/zend_execute.c

index e80f42992dee773f4439f104be0f64e64669fbc9..a77b29c6eff9ba9210247d0e3f5468be8b81154b 100644 (file)
@@ -2487,7 +2487,7 @@ static zend_always_inline void i_cleanup_unfinished_execution(zend_execute_data
                                OBJ_RELEASE(Z_OBJ(call->This));
                        }
                        if (call->func->common.fn_flags & ZEND_ACC_CLOSURE) {
-                               zend_object_release(call->func->common.prototype);
+                               zend_object_release((zend_object *) call->func->common.prototype);
                        }
                        if (call->func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) {
                                zend_string_release(call->func->common.function_name);