From: kevlo Date: Fri, 18 Jul 2008 14:24:18 +0000 (+0000) Subject: remove unnessasary cast. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c9c5a36dffe793af9c9c6de0a8ceb950d0e46d95;p=openbsd remove unnessasary cast. ok millert@ --- 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;