public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - rgmanager: Fix build warnings in fdops.c
@ 2009-06-22 13:47 Lon Hohberger
0 siblings, 0 replies; only message in thread
From: Lon Hohberger @ 2009-06-22 13:47 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=7506ce9125e8daf3f808c310a931893ec87c20ba
Commit: 7506ce9125e8daf3f808c310a931893ec87c20ba
Parent: 1b308fae63d4fa6f9bc56f6f92eb8de6ebc4efc5
Author: Lon Hohberger <lhh@redhat.com>
AuthorDate: Fri May 29 10:48:05 2009 -0400
Committer: Lon Hohberger <lhh@redhat.com>
CommitterDate: Mon Jun 22 09:32:02 2009 -0400
rgmanager: Fix build warnings in fdops.c
Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
rgmanager/src/clulib/fdops.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/rgmanager/src/clulib/fdops.c b/rgmanager/src/clulib/fdops.c
index afeced9..c7857c6 100644
--- a/rgmanager/src/clulib/fdops.c
+++ b/rgmanager/src/clulib/fdops.c
@@ -6,6 +6,7 @@
#include <sys/types.h>
#include <fcntl.h>
#include <errno.h>
+#include <fdops.h>
/**
* This is a wrapper around select which will retry in the case we receive
@@ -71,7 +72,7 @@ _write_retry(int fd, void *buf, int count, struct timeval * timeout)
/*
* Attempt to write to fd
*/
- n = write(fd, buf + (off_t) total, remain);
+ n = write(fd, (char *)buf + (off_t) total, remain);
/*
* When we know our fd was select()ed and we receive 0 bytes
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-22 13:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-22 13:47 cluster: STABLE3 - rgmanager: Fix build warnings in fdops.c Lon Hohberger
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).