From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio M. Di Nitto Date: Wed, 23 Nov 2011 11:15:22 +0100 Subject: [Cluster-devel] [PATCH 03/41] libcman: fix variable type In-Reply-To: <1322043360-17037-1-git-send-email-fdinitto@redhat.com> References: <1322043360-17037-1-git-send-email-fdinitto@redhat.com> Message-ID: <007bbe468bfa1b6ff5649f031fea637df26338c7.1322043045.git.fdinitto@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Spotted by Coverity Scan Signed-off-by: Fabio M. Di Nitto --- :100644 100644 46f5c89... fbf5bf8... M cman/lib/libcman.c 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 46f5c89..fbf5bf8 100644 --- a/cman/lib/libcman.c +++ b/cman/lib/libcman.c @@ -232,7 +232,7 @@ static int loopy_writev(int fd, struct iovec *iovptr, size_t iovlen) static int send_message(struct cman_handle *h, int msgtype, const void *inbuf, int inlen) { struct sock_header header; - size_t len; + int len; struct iovec iov[2]; size_t iovlen = 1; -- 1.7.4.4