summaryrefslogtreecommitdiffstats
path: root/backgammon/common_source/fancy.c
diff options
context:
space:
mode:
Diffstat (limited to 'backgammon/common_source/fancy.c')
-rw-r--r--backgammon/common_source/fancy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/backgammon/common_source/fancy.c b/backgammon/common_source/fancy.c
index e0dfcd42..b9efe906 100644
--- a/backgammon/common_source/fancy.c
+++ b/backgammon/common_source/fancy.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fancy.c,v 1.7 1998/09/13 15:19:35 hubertf Exp $ */
+/* $NetBSD: fancy.c,v 1.8 1999/02/10 12:29:47 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)fancy.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: fancy.c,v 1.7 1998/09/13 15:19:35 hubertf Exp $");
+__RCSID("$NetBSD: fancy.c,v 1.8 1999/02/10 12:29:47 hubertf Exp $");
#endif
#endif /* not lint */
@@ -691,14 +691,14 @@ newline()
int
getcaps(s)
- char *s;
+ const char *s;
{
char *code; /* two letter code */
char ***cap; /* pointer to cap string */
char *bufp; /* pointer to cap buffer */
char tentry[1024]; /* temporary uncoded caps buffer */
- tgetent(tentry, s); /* get uncoded termcap entry */
+ tgetent(tentry, (char *)s); /* get uncoded termcap entry */
LI = tgetnum("li"); /* get number of lines */
if (LI == -1)