This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: master - cman: Fix compile warnings in libcman


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9c9118674780ed3e2f37313839dcf55e7cc3c879
Commit:        9c9118674780ed3e2f37313839dcf55e7cc3c879
Parent:        fa1d88365fd25072f4ec0562d412141d3b3dc1ec
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Tue Jun 23 11:49:44 2009 +0100
Committer:     Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Tue Jun 23 11:49:44 2009 +0100

cman: Fix compile warnings in libcman

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
 cman/services/cman/lib/libcman.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cman/services/cman/lib/libcman.c b/cman/services/cman/lib/libcman.c
index a90f0c2..13c09c4 100644
--- a/cman/services/cman/lib/libcman.c
+++ b/cman/services/cman/lib/libcman.c
@@ -182,8 +182,8 @@ cman_handle_t cman_init (
 
 	cman_inst->privdata = privdata;
 	cman_inst->magic = CMAN_MAGIC;
-	cman_inst->cfg_handle = (corosync_cfg_handle_t)NULL;
-	cman_inst->voteq_handle = (votequorum_handle_t)NULL;
+	cman_inst->cfg_handle = (corosync_cfg_handle_t)0LL;
+	cman_inst->voteq_handle = (votequorum_handle_t)0LL;
 
 	return (void *)cman_inst;
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]