Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/sail Fix warning.



details:   https://anonhg.NetBSD.org/src/rev/b0c45a01b23f
branches:  trunk
changeset: 499858:b0c45a01b23f
user:      jwise <jwise%NetBSD.org@localhost>
date:      Thu Nov 30 22:07:24 2000 +0000

description:
Fix warning.

diffstat:

 games/sail/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1226b560d75c -r b0c45a01b23f games/sail/main.c
--- a/games/sail/main.c Thu Nov 30 22:06:04 2000 +0000
+++ b/games/sail/main.c Thu Nov 30 22:07:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.12 2000/11/30 22:06:04 jwise Exp $  */
+/*     $NetBSD: main.c,v 1.13 2000/11/30 22:07:24 jwise Exp $  */
 
 /*
  * Copyright (c) 1983, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.2 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: main.c,v 1.12 2000/11/30 22:06:04 jwise Exp $");
+__RCSID("$NetBSD: main.c,v 1.13 2000/11/30 22:07:24 jwise Exp $");
 #endif
 #endif /* not lint */
 
@@ -85,7 +85,7 @@
        else
                mode = MODE_PLAYER;
 
-       while (a = getopt(argc, argv, "dsDxlb"))
+       while ((a = getopt(argc, argv, "dsDxlb")))
                switch (a) {
                case 'd':
                        mode = MODE_DRIVER;



Home | Main Index | Thread Index | Old Index