1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-14 20:01:04 +03:00

- Removing warnings on various paltforms

- closing bug #5281
Daniel
This commit is contained in:
Daniel Veillard
2000-02-02 17:15:36 +00:00
parent f341f93011
commit 5feb8495f4
9 changed files with 48 additions and 6 deletions

View File

@ -16,6 +16,9 @@
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include "xmlmemory.h"
#include "tree.h"
#include "parser.h"
@ -677,7 +680,7 @@ xmlShellCat(xmlShellCtxtPtr ctxt, char *arg, xmlNodePtr node,
if (node->type == XML_HTML_DOCUMENT_NODE)
htmlDocDump(stdout, (htmlDocPtr) node);
else
htmlNodeDump(stdout, ctxt->doc, node);
htmlNodeDumpFile(stdout, ctxt->doc, node);
} else {
if (node->type == XML_DOCUMENT_NODE)
xmlDocDump(stdout, (xmlDocPtr) node);