From 7aa7627172c11979ec45c2db85f99182812ee59d Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 30 Jun 2015 13:59:27 +0300 Subject: Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes). --- sapi/phpdbg/phpdbg_frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg_frame.c') diff --git a/sapi/phpdbg/phpdbg_frame.c b/sapi/phpdbg/phpdbg_frame.c index c2a995dd4a..189b3b20fa 100644 --- a/sapi/phpdbg/phpdbg_frame.c +++ b/sapi/phpdbg/phpdbg_frame.c @@ -148,7 +148,7 @@ static void phpdbg_dump_prototype(zval *tmp) /* {{{ */ if (func->type == ZEND_INTERNAL_FUNCTION) { arg_name = (char *)((zend_internal_arg_info *)&arginfo[j])->name; } else { - arg_name = arginfo[j].name->val; + arg_name = ZSTR_VAL(arginfo[j].name); } } -- cgit v1.2.1