From 0c025af962d76e5adf18622180932c4b121e37ef Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Fri, 18 Jul 2008 14:55:22 +0000 Subject: [PATCH] Remove unnessasary cast --- bin/ps/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ps/ps.c b/bin/ps/ps.c index dc5f08da69e..a3a1986ff87 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -213,7 +213,7 @@ main(int argc, char *argv[]) init_list(&uidlist, addelem_uid, sizeof(uid_t), "user"); memf = nlistf = _PATH_DEVNULL; while ((ch = getopt(argc, argv, PS_ARGS)) != -1) - switch ((char)ch) { + switch (ch) { case 'A': /* * Exactly the same as `-ax'. This has been