From a60798c68db2dd627987e1429b169dbcd460bf2a Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 30 Nov 2020 17:01:28 +0100 Subject: Fix an other type mismatch in zend_compile_string --- src/sp_sloppy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sp_sloppy.c b/src/sp_sloppy.c index a2d6b43..d9c9e8d 100644 --- a/src/sp_sloppy.c +++ b/src/sp_sloppy.c @@ -26,7 +26,7 @@ static void modify_opcode(zend_op_array* opline) { } #if PHP_VERSION_ID >= 80000 -ZEND_API zend_op_array* sp_compile_string(zend_string* source_string, char* filename) { +ZEND_API zend_op_array* sp_compile_string(zend_string* source_string, const char* filename) { #else ZEND_API zend_op_array* sp_compile_string(zval* source_string, char* filename) { #endif -- cgit v1.3