diff options
author | Xinchen Hui <laruence@php.net> | 2014-05-25 20:04:35 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-05-25 20:04:35 +0800 |
commit | bc357eaf3f9524f6a8c635c5d0f7b3f45aca5a5c (patch) | |
tree | cb26744833842b705beea5718c20e6669454203e /Zend/zend_exceptions.c | |
parent | 0175d994c0f22a22c20d6b6ae04cd92355277d91 (diff) | |
download | php-git-bc357eaf3f9524f6a8c635c5d0f7b3f45aca5a5c.tar.gz |
Fixed apply_func_args_t
Diffstat (limited to 'Zend/zend_exceptions.c')
-rw-r--r-- | Zend/zend_exceptions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index ae0ae834e4..2c967d578c 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -569,7 +569,7 @@ static int _build_trace_string(zval *frame TSRMLS_DC, int num_args, va_list args if (tmp) { if (Z_TYPE_P(tmp) == IS_ARRAY) { int last_len = str->len; - zend_hash_apply_with_arguments(Z_ARRVAL_P(tmp) TSRMLS_CC, (apply_func_args_t)_build_trace_args, 1, &str); + zend_hash_apply_with_arguments(Z_ARRVAL_P(tmp) TSRMLS_CC, _build_trace_args, 1, &str); if (last_len != str->len) { str->len -= 2; /* remove last ', ' */ } @@ -597,7 +597,7 @@ ZEND_METHOD(exception, getTraceAsString) str = STR_ALLOC(0, 0); trace = zend_read_property(default_exception_ce, getThis(), "trace", sizeof("trace")-1, 1 TSRMLS_CC); - zend_hash_apply_with_arguments(Z_ARRVAL_P(trace) TSRMLS_CC, (apply_func_args_t)_build_trace_string, 2, &str, &num); + zend_hash_apply_with_arguments(Z_ARRVAL_P(trace) TSRMLS_CC, _build_trace_string, 2, &str, &num); len = sprintf(s_tmp, "#%d {main}", num); TRACE_APPEND_STRL(s_tmp, len); |