From 61f78de4860b951b8548b745f40caef3b5369528 Mon Sep 17 00:00:00 2001 From: twosee Date: Sun, 26 May 2019 13:53:26 +0800 Subject: Constify some char* arguments or return values of ZEND_API Closes GH-4247. --- sapi/phpdbg/phpdbg_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg_list.c') 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; -- cgit v1.2.1