summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-01-29 11:59:37 +0800
committerXinchen Hui <laruence@php.net>2015-01-29 11:59:37 +0800
commita1d9ceac7adb411e2b54ad8bd993c28261d5ae85 (patch)
treee4736be8c87731230d4759b8909801878623c7ad /Zend
parente727d640f70aa7092c7274343d02873eb174ef1b (diff)
downloadphp-git-a1d9ceac7adb411e2b54ad8bd993c28261d5ae85.tar.gz
Fixed annoying warnings
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_inheritance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c
index ab188f2cfb..d02e1ab42c 100644
--- a/Zend/zend_inheritance.c
+++ b/Zend/zend_inheritance.c
@@ -212,7 +212,7 @@ static zend_function *do_inherit_method(zend_function *old_function, zend_class_
}
/* }}} */
-static int zend_do_perform_type_hint_check(zend_function *fe, zend_arg_info *fe_arg_info, zend_function *proto, zend_arg_info *proto_arg_info) /* {{{ */
+static int zend_do_perform_type_hint_check(const zend_function *fe, zend_arg_info *fe_arg_info, const zend_function *proto, zend_arg_info *proto_arg_info) /* {{{ */
{
if (ZEND_LOG_XOR(fe_arg_info->class_name, proto_arg_info->class_name)) {
/* Only one has a type hint and the other one doesn't */