[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]