diff options
author | Xinchen Hui <laruence@php.net> | 2014-05-25 19:56:51 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-05-25 19:56:51 +0800 |
commit | 0175d994c0f22a22c20d6b6ae04cd92355277d91 (patch) | |
tree | 2cb51949c84f3cf69ce1a3410c3bd34f6da97806 /Zend/zend_builtin_functions.c | |
parent | c2082ece52bcb5343ae0feb460807596cd79d691 (diff) | |
download | php-git-0175d994c0f22a22c20d6b6ae04cd92355277d91.tar.gz |
Fixed apply_func_arg_t, and it's better not using cast (compiler friendly)
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r-- | Zend/zend_builtin_functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 77743fbd32..b207d698f8 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -1873,7 +1873,7 @@ ZEND_FUNCTION(get_loaded_extensions) if (zendext) { zend_llist_apply_with_argument(&zend_extensions, (llist_apply_with_arg_func_t)add_zendext_info, return_value TSRMLS_CC); } else { - zend_hash_apply_with_argument(&module_registry, (apply_func_arg_t)add_extension_info, return_value TSRMLS_CC); + zend_hash_apply_with_argument(&module_registry, add_extension_info, return_value TSRMLS_CC); } } /* }}} */ @@ -1939,7 +1939,7 @@ ZEND_FUNCTION(get_defined_constants) efree(module_names); efree(modules); } else { - zend_hash_apply_with_argument(EG(zend_constants), (apply_func_arg_t)add_constant_info, return_value TSRMLS_CC); + zend_hash_apply_with_argument(EG(zend_constants), add_constant_info, return_value TSRMLS_CC); } } /* }}} */ |