Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Cluster Development (http://www.linux-archive.org/cluster-development/)
-   -   cluster/cman/lib libcman.c (http://www.linux-archive.org/cluster-development/31221-cluster-cman-lib-libcman-c.html)

01-07-2008 05:53 PM

cluster/cman/lib libcman.c
 
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: lhh@sourceware.org 2008-01-07 18:53:15

Modified files:
cman/lib : libcman.c

Log message:
Correct signed vs. unsigned comparison on sparc64

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/lib/libcman.c.diff?cvsroot=cluster&r1=1.40&r2=1.41

--- cluster/cman/lib/libcman.c 2007/12/05 14:28:58 1.40
+++ cluster/cman/lib/libcman.c 2008/01/07 18:53:14 1.41
@@ -240,7 +240,7 @@
iovlen--;
}

- if (iovlen <=0 )
+ if ((ssize_t)iovlen <=0 )
break;

iovptr->iov_base += len;


All times are GMT. The time now is 05:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.