aboutsummaryrefslogtreecommitdiffstats
path: root/HTMLtree.c
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2004-09-18 04:52:08 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2004-09-18 04:52:08 +0000
commit13dfa87e91a32c347c5c9c655252609f552e9424 (patch)
tree3783dc817c55c35982032c696dd79f3c3c83df7e /HTMLtree.c
parent7a5e0dd1fc73020a1093a30d2c7d5229190369ff (diff)
downloadandroid_external_libxml2-13dfa87e91a32c347c5c9c655252609f552e9424.tar.gz
android_external_libxml2-13dfa87e91a32c347c5c9c655252609f552e9424.tar.bz2
android_external_libxml2-13dfa87e91a32c347c5c9c655252609f552e9424.zip
added the routine xmlNanoHTTPContentLength to the external API
* nanohttp.c, include/libxml/nanohttp.h: added the routine xmlNanoHTTPContentLength to the external API (bug151968). * parser.c: fixed unnecessary internal error message (bug152060); also changed call to strncmp over to xmlStrncmp. * encoding.c: fixed compilation warning (bug152307). * tree.c: fixed segfault in xmlCopyPropList (bug152368); fixed a couple of compilation warnings. * HTMLtree.c, debugXML.c, xmlmemory.c: fixed a few compilation warnings; no change to logic.
Diffstat (limited to 'HTMLtree.c')
-rw-r--r--HTMLtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/HTMLtree.c b/HTMLtree.c
index 5724540f..9a5d35fe 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -170,7 +170,7 @@ htmlSetMetaEncoding(htmlDocPtr doc, const xmlChar *encoding) {
if (encoding != NULL) {
snprintf(newcontent, sizeof(newcontent), "text/html; charset=%s",
- encoding);
+ (char *)encoding);
newcontent[sizeof(newcontent) - 1] = 0;
}