Fix DOM warnings

This commit is contained in:
Nikita Popov 2014-09-03 21:35:53 +02:00
parent 2b133e9149
commit d85ab21ac4
15 changed files with 89 additions and 80 deletions

View file

@ -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);