cluster: STABLE3 - config: Fix build warning in rng2ldif
Lon Hohberger
lon at fedoraproject.org
Tue Dec 15 14:14:47 UTC 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=4de65ae875a1548817cb544d569db7800a3a044f
Commit: 4de65ae875a1548817cb544d569db7800a3a044f
Parent: 0076982bb713264accb05b1cb2c40bf417718c46
Author: Lon Hohberger <lhh at redhat.com>
AuthorDate: Tue Dec 15 09:14:21 2009 -0500
Committer: Lon Hohberger <lhh at redhat.com>
CommitterDate: Tue Dec 15 09:14:21 2009 -0500
config: Fix build warning in rng2ldif
Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
config/tools/ldap/rng2ldif/tree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config/tools/ldap/rng2ldif/tree.c b/config/tools/ldap/rng2ldif/tree.c
index 69fa139..4c6c28f 100644
--- a/config/tools/ldap/rng2ldif/tree.c
+++ b/config/tools/ldap/rng2ldif/tree.c
@@ -161,7 +161,7 @@ find_ref(xmlNodePtr curr_node)
if (strcasecmp((char *)n->name, "define"))
continue;
- tmp_name = (char *)xmlGetProp(n, "name");
+ tmp_name = (char *)xmlGetProp(n, (xmlChar *)"name");
if (!tmp_name)
continue;
if (strcmp(tmp_name, name))
More information about the cluster-commits
mailing list