mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
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
This commit is contained in:
2
parser.c
2
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);
|
||||
|
Reference in New Issue
Block a user