diff --git a/usr.sbin/spray/spray.c b/usr.sbin/spray/spray.c index 7e2d187e13e4..03b7b9325521 100644 --- a/usr.sbin/spray/spray.c +++ b/usr.sbin/spray/spray.c @@ -1,4 +1,4 @@ -/* $NetBSD: spray.c,v 1.5 1997/10/17 13:39:12 lukem Exp $ */ +/* $NetBSD: spray.c,v 1.6 2009/04/18 14:01:37 lukem Exp $ */ /* * Copyright (c) 1993 Winning Strategies, Inc. @@ -32,7 +32,7 @@ #include #ifndef lint -__RCSID("$NetBSD: spray.c,v 1.5 1997/10/17 13:39:12 lukem Exp $"); +__RCSID("$NetBSD: spray.c,v 1.6 2009/04/18 14:01:37 lukem Exp $"); #endif #include @@ -177,7 +177,7 @@ main(argc, argv) /* report dropped packets */ - if (host_stats.counter != count) { + if (host_stats.counter != (unsigned)count) { int packets_dropped = count - host_stats.counter; printf("\t%d packets (%.2f%%) dropped\n",