Module Name:    src
Committed By:   lukem
Date:           Sun Apr 19 04:01:06 UTC 2009

Modified Files:
        src/usr.sbin/rpc.yppasswdd: rpc.yppasswdd.c

Log Message:
Fix -Wsign-compare issue


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c
diff -u src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c:1.11 src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c:1.12
--- src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c:1.11	Fri Nov  8 00:16:39 2002
+++ src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c	Sun Apr 19 04:01:06 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rpc.yppasswdd.c,v 1.11 2002/11/08 00:16:39 fvdl Exp $	*/
+/*	$NetBSD: rpc.yppasswdd.c,v 1.12 2009/04/19 04:01:06 lukem Exp $	*/
 
 /*
  * Copyright (c) 1994 Mats O Jansson <[email protected]>
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rpc.yppasswdd.c,v 1.11 2002/11/08 00:16:39 fvdl Exp $");
+__RCSID("$NetBSD: rpc.yppasswdd.c,v 1.12 2009/04/19 04:01:06 lukem Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -97,7 +97,7 @@
 				int arglen;
 
 				arglen = strlen(argv[i]);
-				if ((len + arglen) > (sizeof(make_arg) - 2))
+				if ((len + arglen) > (int)(sizeof(make_arg) - 2))
 					errx(EXIT_FAILURE, strerror(E2BIG));
 				make_arg[len++] = ' ';
 				(void)strcpy(&make_arg[len], argv[i]);

Reply via email to