From cb0ec0887fa144247464681b664e02199e39c5ae Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Fri, 18 Jul 2008 14:24:19 +0000 Subject: remove unnessasary cast. ok millert@ --- bin/ps/ps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/ps/ps.c b/bin/ps/ps.c index cfa15f804fe..bd10e34ac5e 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ps.c,v 1.45 2008/03/08 19:20:12 millert Exp $ */ +/* $OpenBSD: ps.c,v 1.46 2008/07/18 14:24:18 kevlo Exp $ */ /* $NetBSD: ps.c,v 1.15 1995/05/18 20:33:25 mycroft Exp $ */ /*- @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: ps.c,v 1.45 2008/03/08 19:20:12 millert Exp $"; +static char rcsid[] = "$OpenBSD: ps.c,v 1.46 2008/07/18 14:24:18 kevlo Exp $"; #endif #endif /* not lint */ @@ -135,7 +135,7 @@ main(int argc, char *argv[]) memf = nlistf = swapf = NULL; while ((ch = getopt(argc, argv, "acCeghjkLlM:mN:O:o:p:rSTt:U:uvW:wx")) != -1) - switch((char)ch) { + switch (ch) { case 'a': all = 1; break; -- cgit v1.2.3