diff options
author | thorpej <thorpej@NetBSD.org> | 2003-12-28 17:53:48 +0000 |
---|---|---|
committer | thorpej <thorpej@NetBSD.org> | 2003-12-28 17:53:48 +0000 |
commit | 51c29cb74069758cf13b97bb7e17b1c2485281f9 (patch) | |
tree | 98cb72d1328d97ccfeb5e05611d05c9727ebcb55 /dab | |
parent | c8ec586d110cb50e04c6d3efe7e49d644cd18c9c (diff) | |
download | bsdgames-darwin-51c29cb74069758cf13b97bb7e17b1c2485281f9.tar.gz bsdgames-darwin-51c29cb74069758cf13b97bb7e17b1c2485281f9.tar.zst bsdgames-darwin-51c29cb74069758cf13b97bb7e17b1c2485281f9.zip |
Const the player type variable.
Diffstat (limited to 'dab')
-rw-r--r-- | dab/main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dab/main.cc b/dab/main.cc index c993874f..399aa83f 100644 --- a/dab/main.cc +++ b/dab/main.cc @@ -1,4 +1,4 @@ -/* $NetBSD: main.cc,v 1.1 2003/12/27 01:16:55 christos Exp $ */ +/* $NetBSD: main.cc,v 1.2 2003/12/28 17:53:48 thorpej Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -40,7 +40,7 @@ * main.C: Main dots program */ #include "defs.h" -RCSID("$NetBSD: main.cc,v 1.1 2003/12/27 01:16:55 christos Exp $") +RCSID("$NetBSD: main.cc,v 1.2 2003/12/28 17:53:48 thorpej Exp $") #include <iostream> #include <unistd.h> @@ -106,7 +106,7 @@ static void play(BOARD& b, PLAYER* p[2]) int main(int argc, char** argv) { size_t ny, nx, nn = 1, wt = 0; - char* nc = "ch"; + const char* nc = "ch"; int c; int acs = 1; |