summaryrefslogtreecommitdiff
path: root/Zend/zend_dtrace.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2015-09-02 23:36:13 +0800
committerXinchen Hui <laruence@gmail.com>2015-09-02 23:36:13 +0800
commit1cfd12d618d8f4f38d0dc728e49446a3ffd2d923 (patch)
tree596c64441fb9aed403ab58b4e1145d76f80a12bc /Zend/zend_dtrace.c
parent362f787b75b4c64b90455691ac00c5efcdc3ad76 (diff)
downloadphp-git-1cfd12d618d8f4f38d0dc728e49446a3ffd2d923.tar.gz
Use ZSTR_VAL
Diffstat (limited to 'Zend/zend_dtrace.c')
-rw-r--r--Zend/zend_dtrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_dtrace.c b/Zend/zend_dtrace.c
index 784e4da527..d1defc6f3d 100644
--- a/Zend/zend_dtrace.c
+++ b/Zend/zend_dtrace.c
@@ -46,9 +46,9 @@ static inline const char *dtrace_get_executed_filename(void)
ZEND_API zend_op_array *dtrace_compile_file(zend_file_handle *file_handle, int type)
{
zend_op_array *res;
- DTRACE_COMPILE_FILE_ENTRY(file_handle->opened_path->val, (char *)file_handle->filename);
+ DTRACE_COMPILE_FILE_ENTRY(ZSTR_VAL(file_handle->opened_path), (char *)file_handle->filename);
res = compile_file(file_handle, type);
- DTRACE_COMPILE_FILE_RETURN(file_handle->opened_path->val, (char *)file_handle->filename);
+ DTRACE_COMPILE_FILE_RETURN(ZSTR_VAL(file_handle->opened_path), (char *)file_handle->filename);
return res;
}