FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 11-23-2011, 09:15 AM
"Fabio M. Di Nitto"
 
Default libcman: fix variable type

Spotted by Coverity Scan

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
: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
 

Thread Tools




All times are GMT. The time now is 06:09 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org