diff --git a/usr.bin/tty/tty.c b/usr.bin/tty/tty.c index bcb34ff42abf..4710e169c1bf 100644 --- a/usr.bin/tty/tty.c +++ b/usr.bin/tty/tty.c @@ -60,7 +60,7 @@ main(int argc, char *argv[]) sflag = 0; while ((ch = getopt(argc, argv, "s")) != -1) - switch((char)ch) { + switch (ch) { case 's': sflag = 1; break;