mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec fixed
* configure.in Makefile.am: fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec * relaxng.c: fixed some of the error reporting excessive verbosity * catalog.c debugXML.c valid.c xmlreader.c xmlschemas.c xpath.c xmlschemastypes.c: removed some warnings from gcc * doc/libxml2-api.xml: rebuilt Daniel
This commit is contained in:
12
debugXML.c
12
debugXML.c
@ -1200,11 +1200,11 @@ xmlLsOneNode(FILE *output, xmlNodePtr node) {
|
||||
switch (node->type) {
|
||||
case XML_ELEMENT_NODE:
|
||||
if (node->name != NULL)
|
||||
fprintf(output, "%s", node->name);
|
||||
fprintf(output, "%s", (const char *) node->name);
|
||||
break;
|
||||
case XML_ATTRIBUTE_NODE:
|
||||
if (node->name != NULL)
|
||||
fprintf(output, "%s", node->name);
|
||||
fprintf(output, "%s", (const char *) node->name);
|
||||
break;
|
||||
case XML_TEXT_NODE:
|
||||
if (node->content != NULL) {
|
||||
@ -1215,15 +1215,15 @@ xmlLsOneNode(FILE *output, xmlNodePtr node) {
|
||||
break;
|
||||
case XML_ENTITY_REF_NODE:
|
||||
if (node->name != NULL)
|
||||
fprintf(output, "%s", node->name);
|
||||
fprintf(output, "%s", (const char *) node->name);
|
||||
break;
|
||||
case XML_ENTITY_NODE:
|
||||
if (node->name != NULL)
|
||||
fprintf(output, "%s", node->name);
|
||||
fprintf(output, "%s", (const char *) node->name);
|
||||
break;
|
||||
case XML_PI_NODE:
|
||||
if (node->name != NULL)
|
||||
fprintf(output, "%s", node->name);
|
||||
fprintf(output, "%s", (const char *) node->name);
|
||||
break;
|
||||
case XML_COMMENT_NODE:
|
||||
break;
|
||||
@ -1248,7 +1248,7 @@ xmlLsOneNode(FILE *output, xmlNodePtr node) {
|
||||
}
|
||||
default:
|
||||
if (node->name != NULL)
|
||||
fprintf(output, "%s", node->name);
|
||||
fprintf(output, "%s", (const char *) node->name);
|
||||
}
|
||||
fprintf(output, "\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user