A space between switch and open-paren. Don't explicitly cast the value

returned by getopt(3) to 'char' in a switch.
This commit is contained in:
jmallett 2002-05-29 17:12:30 +00:00
parent 50d27889f5
commit 4a675d0d9d

View File

@ -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;