public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Lon Hohberger <lon@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: STABLE3 - rgmanager: Fix build warnings in fdops.c
Date: Mon, 22 Jun 2009 13:47:00 -0000	[thread overview]
Message-ID: <20090622133236.B5C841201D4@lists.fedorahosted.org> (raw)

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


                 reply	other threads:[~2009-06-22 13:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090622133236.B5C841201D4@lists.fedorahosted.org \
    --to=lon@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).