mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use BAD_CAST consistently
This commit is contained in:
parent
37791d6f92
commit
d57e7a920b
17 changed files with 91 additions and 91 deletions
|
@ -85,7 +85,7 @@ static xmlNodePtr lexbor_libxml2_bridge_new_text_node_fast(xmlDocPtr lxml_doc, c
|
|||
lxml_text->name = xmlStringText;
|
||||
lxml_text->type = XML_TEXT_NODE;
|
||||
lxml_text->doc = lxml_doc;
|
||||
lxml_text->content = (xmlChar *) &lxml_text->properties;
|
||||
lxml_text->content = BAD_CAST &lxml_text->properties;
|
||||
memcpy(lxml_text->content, data, data_length);
|
||||
return lxml_text;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue