summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sp_sloppy.c2
1 files changed, 1 insertions, 1 deletions
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) {
26} 26}
27 27
28#if PHP_VERSION_ID >= 80000 28#if PHP_VERSION_ID >= 80000
29ZEND_API zend_op_array* sp_compile_string(zend_string* source_string, char* filename) { 29ZEND_API zend_op_array* sp_compile_string(zend_string* source_string, const char* filename) {
30#else 30#else
31ZEND_API zend_op_array* sp_compile_string(zval* source_string, char* filename) { 31ZEND_API zend_op_array* sp_compile_string(zval* source_string, char* filename) {
32#endif 32#endif