public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - cman: Fix compile warning in libcman
@ 2009-05-06 12:09 Christine Caulfield
0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2009-05-06 12:09 UTC (permalink / raw)
To: cluster-cvs-relay
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-06 12:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-06 12:09 cluster: STABLE3 - cman: Fix compile warning in libcman Christine Caulfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).