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: STABLE3 - cman: Fix compile warning in libcman


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=2decf39bbb994d5fc2338de75e027ec168783bf6
Commit:        2decf39bbb994d5fc2338de75e027ec168783bf6
Parent:        af7041beaf3ce220fc65e293c4821a4ed8258cc1
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Wed May 6 13:08:08 2009 +0100
Committer:     Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Wed May 6 13:08:08 2009 +0100

cman: Fix compile warning in libcman

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

diff --git a/cman/lib/libcman.c b/cman/lib/libcman.c
index 8737d44..93c5df1 100644
--- a/cman/lib/libcman.c
+++ b/cman/lib/libcman.c
@@ -222,7 +222,7 @@ static int loopy_writev(int fd, struct iovec *iovptr, size_t iovlen)
 		if ((ssize_t)iovlen <=0 )
 			break;
 
-		iovptr->iov_base += len;
+		iovptr->iov_base = (char *)iovptr->iov_base + len;
 		iovptr->iov_len -= len;
 	}
 	return byte_cnt;


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