From 51c29cb74069758cf13b97bb7e17b1c2485281f9 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sun, 28 Dec 2003 17:53:48 +0000 Subject: Const the player type variable. --- dab/main.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dab') 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 #include @@ -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; -- cgit v1.2.3-56-ge451