summaryrefslogtreecommitdiffstats
path: root/bin/ps
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2008-07-18 14:55:22 +0000
committerkevlo <kevlo@FreeBSD.org>2008-07-18 14:55:22 +0000
commit1f1d4ebf9acae29a6390412a03b9ed72415aa9c8 (patch)
tree100d9634935f6d661684650f592c81e18b7994ff /bin/ps
parentea6fbedc6844fd194d47f1a2f0dc63181859d5ff (diff)
downloadFreeBSD-src-1f1d4ebf9acae29a6390412a03b9ed72415aa9c8.zip
FreeBSD-src-1f1d4ebf9acae29a6390412a03b9ed72415aa9c8.tar.gz
Remove unnessasary cast
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index dc5f08d..a3a1986 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
OpenPOWER on IntegriCloud