remove warnings under Windows.
* schematron.c xmlregexp.c: remove warnings under Windows.
diff --git a/schematron.c b/schematron.c
index 9cb5027..98184ac 100644
--- a/schematron.c
+++ b/schematron.c
@@ -562,7 +562,7 @@
xmlFreeDoc(schema->doc);
if (schema->namespaces != NULL)
- xmlFree(schema->namespaces);
+ xmlFree((char **) schema->namespaces);
xmlSchematronFreeRules(schema->rules);
xmlSchematronFreePatterns(schema->patterns);
@@ -709,7 +709,7 @@
xmlXPathFreeContext(ctxt->xctxt);
}
if (ctxt->namespaces != NULL)
- xmlFree(ctxt->namespaces);
+ xmlFree((char **) ctxt->namespaces);
xmlDictFree(ctxt->dict);
xmlFree(ctxt);
}
@@ -809,7 +809,7 @@
const xmlChar **tmp;
tmp = (const xmlChar **)
- xmlRealloc(ctxt->namespaces, ctxt->maxNamespaces * 4 *
+ xmlRealloc((xmlChar **) ctxt->namespaces, ctxt->maxNamespaces * 4 *
sizeof(const xmlChar *));
if (tmp == NULL) {
xmlSchematronPErrMemory(NULL, "allocating parser namespaces",