diff options
Diffstat (limited to 'games/morse/morse.c')
-rw-r--r-- | games/morse/morse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/morse/morse.c b/games/morse/morse.c index 03118ba..bbba9b2 100644 --- a/games/morse/morse.c +++ b/games/morse/morse.c @@ -213,7 +213,7 @@ main(int argc, char **argv) register int ch; register char *p; - while ((ch = getopt(argc, argv, "spw:f:")) != EOF) + while ((ch = getopt(argc, argv, "spw:f:")) != -1) switch ((char) ch) { case 'f': freq = atoi(optarg); |