From ae0bf447b475a367977fc432f6976536e8c9408e Mon Sep 17 00:00:00 2001 From: ndossche <7771979+ndossche@users.noreply.github.com> Date: Tue, 10 Mar 2026 20:51:51 +0100 Subject: [PATCH] soap: Fix const-generic compile warning --- ext/soap/php_encoding.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index 73245fd1a18..bce33124429 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -2529,8 +2529,7 @@ static zval *to_zval_array(zval *ret, encodeTypePtr type, xmlNodePtr data) if (data && (attr = get_attribute(data->properties,"arrayType")) && attr->children && attr->children->content) { - const char *type; - char *end, *ns; + char *type, *end, *ns; xmlNsPtr nsptr; parse_namespace(attr->children->content, &type, &ns);