aboutsummaryrefslogtreecommitdiffstats
path: root/HTMLtree.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2000-11-06 16:43:11 +0000
committerDaniel Veillard <veillard@src.gnome.org>2000-11-06 16:43:11 +0000
commit9e8bfae59a087a938a810a5527023b1e7b0e15b3 (patch)
treea47575de598f9fa97697684b899562b76d03eca2 /HTMLtree.c
parenta4964b75003d138d4643ab03e3e116a8453f8308 (diff)
downloadandroid_external_libxml2-9e8bfae59a087a938a810a5527023b1e7b0e15b3.tar.gz
android_external_libxml2-9e8bfae59a087a938a810a5527023b1e7b0e15b3.tar.bz2
android_external_libxml2-9e8bfae59a087a938a810a5527023b1e7b0e15b3.zip
XInclude and other stuff while travelling. Contributed patches:
- tree.[ch] xinclude.[ch] xmllint.c configure.in valid.c debugXML.c xmlversion.h.in: Started adding XInclude support, this is a new xmllint option - tree.c xpath.c: applied TOM patches for XPath - xpointer.c: fixed a couple of errors. - uri.c: added an escaping function needed for xinclude - testXPath.c hash.c HTMLtree.c: minor cleanups raised by new warning from RH70 gcc's version Daniel
Diffstat (limited to 'HTMLtree.c')
-rw-r--r--HTMLtree.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/HTMLtree.c b/HTMLtree.c
index 0a259c55..82687aca 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -818,7 +818,8 @@ htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, const
#ifndef XML_USE_BUFFER_CONTENT
xmlOutputBufferWriteString(buf, (const char *)cur->content);
#else
- xmlOutputBufferWriteString(buf, xmlBufferContent(cur->content));
+ xmlOutputBufferWriteString(buf, (const char *)
+ xmlBufferContent(cur->content));
#endif
xmlOutputBufferWriteString(buf, "-->");
}
@@ -835,7 +836,8 @@ htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, const
#ifndef XML_USE_BUFFER_CONTENT
xmlOutputBufferWriteString(buf, (const char *)cur->content);
#else
- xmlOutputBufferWriteString(buf, xmlBufferContent(cur->content));
+ xmlOutputBufferWriteString(buf, (const char *)
+ xmlBufferContent(cur->content));
#endif
}
return;