diff options
Diffstat (limited to 'games/arithmetic')
-rw-r--r-- | games/arithmetic/arithmetic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/arithmetic/arithmetic.c b/games/arithmetic/arithmetic.c index 40261d6..f668ff4 100644 --- a/games/arithmetic/arithmetic.c +++ b/games/arithmetic/arithmetic.c @@ -105,7 +105,7 @@ main(argc, argv) int ch, cnt; void intr(); - while ((ch = getopt(argc, argv, "r:o:")) != EOF) + while ((ch = getopt(argc, argv, "r:o:")) != -1) switch(ch) { case 'o': { register char *p; |