summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_list.c
diff options
context:
space:
mode:
authortwosee <twose@qq.com>2019-05-26 13:53:26 +0800
committerNikita Popov <nikita.ppv@gmail.com>2019-06-12 16:49:32 +0200
commit61f78de4860b951b8548b745f40caef3b5369528 (patch)
tree37f2ba92c4f37d630e0312cf238e94587f25c1cf /sapi/phpdbg/phpdbg_list.c
parentff8002fc7c3cbf9ee01d6d68cccbbd9460314ce4 (diff)
downloadphp-git-61f78de4860b951b8548b745f40caef3b5369528.tar.gz
Constify some char* arguments or return values of ZEND_API
Closes GH-4247.
Diffstat (limited to 'sapi/phpdbg/phpdbg_list.c')
-rw-r--r--sapi/phpdbg/phpdbg_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c
index 35b023aebe..3631763747 100644
--- a/sapi/phpdbg/phpdbg_list.c
+++ b/sapi/phpdbg/phpdbg_list.c
@@ -318,7 +318,7 @@ zend_op_array *phpdbg_init_compile_file(zend_file_handle *file, int type) {
return op_array;
}
-zend_op_array *phpdbg_compile_string(zval *source_string, char *filename) {
+zend_op_array *phpdbg_compile_string(zval *source_string, const char *filename) {
zend_string *fake_name;
zend_op_array *op_array;
phpdbg_file_source *dataptr;