diff options
author | Kevin Lo <kevlo@cvs.openbsd.org> | 2008-07-18 14:24:19 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@cvs.openbsd.org> | 2008-07-18 14:24:19 +0000 |
commit | cb0ec0887fa144247464681b664e02199e39c5ae (patch) | |
tree | 2e95fa1fd0be9a6ceed25b9f19d38ec7bf492c13 /bin | |
parent | 0877d8ae029e73aa871ca80221ab5d4d5e4ae40a (diff) |
remove unnessasary cast.
ok millert@
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ps/ps.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |