Module Name: src
Committed By: lukem
Date: Wed Apr 15 00:38:07 UTC 2009
Modified Files:
src/usr.sbin/btpand: btpand.c
Log Message:
Fix -Wsign-compare issue
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/btpand/btpand.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/btpand/btpand.c
diff -u src/usr.sbin/btpand/btpand.c:1.1 src/usr.sbin/btpand/btpand.c:1.2
--- src/usr.sbin/btpand/btpand.c:1.1 Sun Aug 17 13:20:57 2008
+++ src/usr.sbin/btpand/btpand.c Wed Apr 15 00:38:07 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: btpand.c,v 1.1 2008/08/17 13:20:57 plunky Exp $ */
+/* $NetBSD: btpand.c,v 1.2 2009/04/15 00:38:07 lukem Exp $ */
/*-
* Copyright (c) 2008 Iain Hibbert
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2008 Iain Hibbert. All rights reserved.");
-__RCSID("$NetBSD: btpand.c,v 1.1 2008/08/17 13:20:57 plunky Exp $");
+__RCSID("$NetBSD: btpand.c,v 1.2 2009/04/15 00:38:07 lukem Exp $");
#include <sys/wait.h>
@@ -283,7 +283,7 @@
"Known services:\n"
"", p, n, "", p, n, "");
- for (n = 0; n < __arraycount(services); n++)
+ for (n = 0; n < (int)__arraycount(services); n++)
fprintf(stderr, "\t%s\t%s\n", services[n].name, services[n].desc);
exit(EXIT_FAILURE);