summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-02-09 12:39:02 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-02-09 12:39:02 +0000
commit5bb9ccd56a812b65e94e71477389be7826203649 (patch)
tree4468e71d77ecf04987688ac265b52b16be3800fb /parser.c
parent95af594b0bd28ad8847de96ec00ff9244bd94da7 (diff)
downloadlibxml2-5bb9ccd56a812b65e94e71477389be7826203649.tar.gz
remove the warning on the 2001 namespace remove some warnings when
* xinclude.c: remove the warning on the 2001 namespace * parser.c parserInternals.c xpath.c: remove some warnings when compiling with MSVC6 * nanohttp.c: applied a patch when using _WINSOCKAPI_ Daniel
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index fddd21f3..d8b7f3b6 100644
--- a/parser.c
+++ b/parser.c
@@ -854,7 +854,7 @@ nsPush(xmlParserCtxtPtr ctxt, const xmlChar *prefix, const xmlChar *URL)
} else if (ctxt->nsNr >= ctxt->nsMax) {
ctxt->nsMax *= 2;
ctxt->nsTab = (const xmlChar **)
- xmlRealloc(ctxt->nsTab,
+ xmlRealloc((char *) ctxt->nsTab,
ctxt->nsMax * sizeof(ctxt->nsTab[0]));
if (ctxt->nsTab == NULL) {
xmlErrMemory(ctxt, NULL);