mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix DOM warnings
This commit is contained in:
parent
2b133e9149
commit
d85ab21ac4
15 changed files with 89 additions and 80 deletions
|
@ -70,7 +70,7 @@ PHP_METHOD(domentityreference, __construct)
|
|||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
node = xmlNewReference(NULL, name);
|
||||
node = xmlNewReference(NULL, (xmlChar *) name);
|
||||
|
||||
if (!node) {
|
||||
php_dom_throw_error(INVALID_STATE_ERR, 1 TSRMLS_CC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue