Module Name: src
Committed By: christos
Date: Wed May 13 03:21:41 UTC 2009
Modified Files:
src/usr.sbin/btpand: btpand.c
Log Message:
make this compile where size_t is not unsigned int.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.4 src/usr.sbin/btpand/btpand.c:1.5
--- src/usr.sbin/btpand/btpand.c:1.4 Tue May 12 17:50:38 2009
+++ src/usr.sbin/btpand/btpand.c Tue May 12 23:21:41 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: btpand.c,v 1.4 2009/05/12 21:50:38 plunky Exp $ */
+/* $NetBSD: btpand.c,v 1.5 2009/05/13 03:21:41 christos Exp $ */
/*-
* Copyright (c) 2008-2009 Iain Hibbert
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2008-2009 Iain Hibbert. All rights reserved.");
-__RCSID("$NetBSD: btpand.c,v 1.4 2009/05/12 21:50:38 plunky Exp $");
+__RCSID("$NetBSD: btpand.c,v 1.5 2009/05/13 03:21:41 christos Exp $");
#include <sys/wait.h>
@@ -295,7 +295,7 @@
"\t-s service service name\n"
"\n"
"Known services:\n"
- "", p, n, "", p, n, "");
+ "", p, (int)n, "", p, (int)n, "");
for (n = 0; n < __arraycount(services); n++)
fprintf(stderr, "\t%s\t%s\n", services[n].type, services[n].name);