Date: Fri, 14 Aug 2009 19:30:59 +0000 (UTC) From: Remko Lodder <remko@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r196217 - stable/8/usr.sbin/arp Message-ID: <200908141930.n7EJUxCf045348@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: remko Date: Fri Aug 14 19:30:59 2009 New Revision: 196217 URL: http://svn.freebsd.org/changeset/base/196217 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 Approved by: re (rwatson), imp (mentor, implicit) Modified: stable/8/usr.sbin/arp/ (props changed) stable/8/usr.sbin/arp/arp.c Modified: stable/8/usr.sbin/arp/arp.c ============================================================================== --- stable/8/usr.sbin/arp/arp.c Fri Aug 14 18:18:51 2009 (r196216) +++ stable/8/usr.sbin/arp/arp.c Fri Aug 14 19:30:59 2009 (r196217) @@ -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?200908141930.n7EJUxCf045348>