Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2009 18:18:51 +0000 (UTC)
From:      Remko Lodder <remko@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196216 - head/usr.sbin/arp
Message-ID:  <200908141818.n7EIIpxZ043806@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: remko
Date: Fri Aug 14 18:18:51 2009
New Revision: 196216
URL: http://svn.freebsd.org/changeset/base/196216

Log:
  Remove bogus char cast.
  
  PR:		118014
  Submitted by:	Gardner Bell <gbell72 at rogers dot com>
  Approved by:	re (rwatson), imp (mentor, implicit)
  MFC after:	immediate

Modified:
  head/usr.sbin/arp/arp.c

Modified: head/usr.sbin/arp/arp.c
==============================================================================
--- head/usr.sbin/arp/arp.c	Fri Aug 14 16:15:18 2009	(r196215)
+++ head/usr.sbin/arp/arp.c	Fri Aug 14 18:18:51 2009	(r196216)
@@ -120,7 +120,7 @@ main(int argc, char *argv[])
 	int aflag = 0;	/* do it for all entries */
 
 	while ((ch = getopt(argc, argv, "andfsSi:")) != -1)
-		switch((char)ch) {
+		switch(ch) {
 		case 'a':
 			aflag = 1;
 			break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908141818.n7EIIpxZ043806>