summaryrefslogtreecommitdiffstats
path: root/games/wump/wump.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/wump/wump.c')
-rw-r--r--games/wump/wump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/wump/wump.c b/games/wump/wump.c
index 68ae675..1cbf4f2 100644
--- a/games/wump/wump.c
+++ b/games/wump/wump.c
@@ -116,9 +116,9 @@ main(argc, argv)
setgid(getgid());
#ifdef DEBUG
- while ((c = getopt(argc, argv, "a:b:hp:r:t:d")) != EOF)
+ while ((c = getopt(argc, argv, "a:b:hp:r:t:d")) != -1)
#else
- while ((c = getopt(argc, argv, "a:b:hp:r:t:")) != EOF)
+ while ((c = getopt(argc, argv, "a:b:hp:r:t:")) != -1)
#endif
switch (c) {
case 'a':
OpenPOWER on IntegriCloud