mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: dom: Fix compile warning due to misplaced const cast
This commit is contained in:
@@ -1281,7 +1281,7 @@ PHP_METHOD(DOMDocument, __construct)
|
||||
}
|
||||
|
||||
if (encoding_len > 0) {
|
||||
docp->encoding = (const xmlChar *) xmlStrdup(BAD_CAST encoding);
|
||||
docp->encoding = xmlStrdup((const xmlChar *) encoding);
|
||||
}
|
||||
|
||||
intern = Z_DOMOBJ_P(ZEND_THIS);
|
||||
|
||||
Reference in New Issue
Block a user