Fix compilation on libxml2 2.13

This commit is contained in:
Niels Dossche 2024-07-03 15:48:44 +02:00
parent 0bd260218b
commit 85705eda71
7 changed files with 22 additions and 7 deletions

View file

@ -544,8 +544,10 @@ php_libxml_input_buffer_create_filename(const char *URI, xmlCharEncoding enc)
static xmlOutputBufferPtr
php_libxml_output_buffer_create_filename(const char *URI,
xmlCharEncodingHandlerPtr encoder,
int compression ATTRIBUTE_UNUSED)
int compression)
{
ZEND_IGNORE_VALUE(compression);
xmlOutputBufferPtr ret;
xmlURIPtr puri;
void *context = NULL;