Skip to content

Commit 1cfd12d

Browse files
committed
Use ZSTR_VAL
1 parent 362f787 commit 1cfd12d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_dtrace.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ static inline const char *dtrace_get_executed_filename(void)
4646
ZEND_API zend_op_array *dtrace_compile_file(zend_file_handle *file_handle, int type)
4747
{
4848
zend_op_array *res;
49-
DTRACE_COMPILE_FILE_ENTRY(file_handle->opened_path->val, (char *)file_handle->filename);
49+
DTRACE_COMPILE_FILE_ENTRY(ZSTR_VAL(file_handle->opened_path), (char *)file_handle->filename);
5050
res = compile_file(file_handle, type);
51-
DTRACE_COMPILE_FILE_RETURN(file_handle->opened_path->val, (char *)file_handle->filename);
51+
DTRACE_COMPILE_FILE_RETURN(ZSTR_VAL(file_handle->opened_path), (char *)file_handle->filename);
5252

5353
return res;
5454
}

0 commit comments

Comments
 (0)