From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 7 Jan 2008 18:53:15 -0000 Subject: [Cluster-devel] cluster/cman/lib libcman.c Message-ID: <20080107185315.18781.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Changes by: lhh at 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;