Skip to contentSkip to conversation

cluster/cman/lib libcman.c

Cluster-devel [email protected] 1 participant 1 message Jan 7, 2008

lore
Share & tools
lore
#0 lore raw

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

cman/lib/libcman.c +1 -1
@@ -240,7 +240,7 @@
 			iovlen--;
 		}
 
-		if (iovlen <=0 )
+		if ((ssize_t)iovlen <=0 )
 			break;
 
 		iovptr->iov_base += len;