From 5bb9ccd56a812b65e94e71477389be7826203649 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 9 Feb 2004 12:39:02 +0000 Subject: 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 --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser.c') 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); -- cgit v1.2.1