summaryrefslogtreecommitdiff
path: root/Zend/zend_object_handlers.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-06-12 21:36:53 +0000
committerFelipe Pena <felipe@php.net>2009-06-12 21:36:53 +0000
commit2cb9fe1f8929c3dbff019d98573a5b87468bb29d (patch)
tree2b0f2679c106e5fd5c8cbf3bd5d545036c791b02 /Zend/zend_object_handlers.c
parentf9b9765ed09a6d56748cd7854f3927d243e8e876 (diff)
downloadphp-git-2cb9fe1f8929c3dbff019d98573a5b87468bb29d.tar.gz
- Constified method_name arg. in zend_get_user_call_function() and zend_get_user_callstatic_function()
Diffstat (limited to 'Zend/zend_object_handlers.c')
-rw-r--r--Zend/zend_object_handlers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c
index 97e8065e7e..0e0b976032 100644
--- a/Zend/zend_object_handlers.c
+++ b/Zend/zend_object_handlers.c
@@ -777,7 +777,7 @@ static inline zend_class_entry * zend_get_function_root_class(zend_function *fbc
}
/* }}} */
-static inline union _zend_function *zend_get_user_call_function(zend_class_entry *ce, char *method_name, int method_len) /* {{{ */
+static inline union _zend_function *zend_get_user_call_function(zend_class_entry *ce, const char *method_name, int method_len) /* {{{ */
{
zend_internal_function *call_user_call = emalloc(sizeof(zend_internal_function));
call_user_call->type = ZEND_INTERNAL_FUNCTION;
@@ -912,7 +912,7 @@ ZEND_API void zend_std_callstatic_user_call(INTERNAL_FUNCTION_PARAMETERS) /* {{{
}
/* }}} */
-static inline union _zend_function *zend_get_user_callstatic_function(zend_class_entry *ce, char *method_name, int method_len) /* {{{ */
+static inline union _zend_function *zend_get_user_callstatic_function(zend_class_entry *ce, const char *method_name, int method_len) /* {{{ */
{
zend_internal_function *callstatic_user_call = emalloc(sizeof(zend_internal_function));
callstatic_user_call->type = ZEND_INTERNAL_FUNCTION;