From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17645 invoked by alias); 23 Jun 2009 10:50:43 -0000 Received: (qmail 17639 invoked by alias); 23 Jun 2009 10:50:43 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion2.fedora.phx.redhat.com Subject: cluster: master - cman: Fix compile warnings in libcman To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: fa1d88365fd25072f4ec0562d412141d3b3dc1ec X-Git-Newrev: 9c9118674780ed3e2f37313839dcf55e7cc3c879 From: Christine Caulfield Message-Id: <20090623105015.BD10512037D@lists.fedorahosted.org> Date: Tue, 23 Jun 2009 10:50:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00739.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9c9118674780ed3e2f37313839dcf55e7cc3c879 Commit: 9c9118674780ed3e2f37313839dcf55e7cc3c879 Parent: fa1d88365fd25072f4ec0562d412141d3b3dc1ec Author: Christine Caulfield AuthorDate: Tue Jun 23 11:49:44 2009 +0100 Committer: Christine Caulfield CommitterDate: Tue Jun 23 11:49:44 2009 +0100 cman: Fix compile warnings in libcman Signed-off-by: Christine Caulfield --- 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;