[libxml2] Fix Windows build
- From: Rob Richards <rrichard src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libxml2] Fix Windows build
- Date: Wed, 9 Sep 2009 16:15:41 +0000 (UTC)
commit 848e5cf3ab1166f242dca3a10012aa7bb07ad65d
Author: Rob Richards <rrichards cdatazone org>
Date: Wed Sep 9 12:13:58 2009 -0400
Fix Windows build
* relaxng.c: fix windows build
relaxng.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/relaxng.c b/relaxng.c
index 0122d57..d124d72 100644
--- a/relaxng.c
+++ b/relaxng.c
@@ -5366,7 +5366,7 @@ xmlRelaxNGParseNameClass(xmlRelaxNGParserCtxtPtr ctxt, xmlNodePtr node,
} 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 @@ xmlRelaxNGValidateInterleave(xmlRelaxNGValidCtxtPtr ctxt,
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]