cluster: master - cman: fix compile warning
Christine Caulfield
chrissie@fedoraproject.org
Tue Jan 20 11:03:00 GMT 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=47a0449477358995395fa21f3f8a898434998b4a
Commit: 47a0449477358995395fa21f3f8a898434998b4a
Parent: 992324b14755a06efa1b7c7b2e8775db66d615ab
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Tue Jan 20 11:02:08 2009 +0000
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Tue Jan 20 11:02:08 2009 +0000
cman: fix compile warning
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
cman/services/cman/lib/libcman.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cman/services/cman/lib/libcman.c b/cman/services/cman/lib/libcman.c
index 488d6c8..6631cf9 100644
--- a/cman/services/cman/lib/libcman.c
+++ b/cman/services/cman/lib/libcman.c
@@ -330,7 +330,7 @@ int cman_get_node_addrs (
}
}
- error = corosync_cfg_get_node_addrs(cman_inst->cfg_handle, nodeid, max_addrs, num_addrs, addrs);
+ error = corosync_cfg_get_node_addrs(cman_inst->cfg_handle, nodeid, max_addrs, num_addrs, (corosync_cfg_node_address_t *)addrs);
return (error?-1:0);
}
More information about the Cluster-cvs
mailing list