This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: STABLE3 - cman: Fix compile warning in libcman
- From: Christine Caulfield <chrissie at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Wed, 6 May 2009 12:08:27 +0000 (UTC)
- Subject: 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;