Fix Windows build
* relaxng.c: fix windows build
diff --git a/relaxng.c b/relaxng.c
index 0122d57..d124d72 100644
--- a/relaxng.c
+++ b/relaxng.c
@@ -5366,7 +5366,7 @@
} else {
xmlRngPErr(ctxt, node, XML_RNGP_CHOICE_CONTENT,
"expecting name, anyName, nsName or choice : got %s\n",
- (node == NULL ? 'nothing' : node->name), NULL);
+ (node == NULL ? "nothing" : node->name), NULL);
return (NULL);
}
if (ret != def) {
@@ -9450,7 +9450,7 @@
ctxt->states = NULL;
if (found == 0) {
if (cur == NULL) {
- VALID_ERR2(XML_RELAXNG_ERR_INTEREXTRA, 'noname');
+ VALID_ERR2(XML_RELAXNG_ERR_INTEREXTRA, "noname");
} else {
VALID_ERR2(XML_RELAXNG_ERR_INTEREXTRA, cur->name);
}