diff options
author | hubertf <hubertf@NetBSD.org> | 1999-02-10 17:08:06 +0000 |
---|---|---|
committer | hubertf <hubertf@NetBSD.org> | 1999-02-10 17:08:06 +0000 |
commit | 41719528321bb472d3a5c888f0f1c64578b80b3a (patch) | |
tree | 5d22aa6ffc591e3ed15396dd3cf763d845257ac5 /backgammon/common_source | |
parent | 1a199b4c2a2233d21f830b2b739f50a829bca883 (diff) | |
download | bsdgames-darwin-41719528321bb472d3a5c888f0f1c64578b80b3a.tar.gz bsdgames-darwin-41719528321bb472d3a5c888f0f1c64578b80b3a.tar.zst bsdgames-darwin-41719528321bb472d3a5c888f0f1c64578b80b3a.zip |
tgetent() handles const correctly in current
Diffstat (limited to 'backgammon/common_source')
-rw-r--r-- | backgammon/common_source/fancy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backgammon/common_source/fancy.c b/backgammon/common_source/fancy.c index b9efe906..d0c362c8 100644 --- a/backgammon/common_source/fancy.c +++ b/backgammon/common_source/fancy.c @@ -1,4 +1,4 @@ -/* $NetBSD: fancy.c,v 1.8 1999/02/10 12:29:47 hubertf Exp $ */ +/* $NetBSD: fancy.c,v 1.9 1999/02/10 17:08:06 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.8 1999/02/10 12:29:47 hubertf Exp $"); +__RCSID("$NetBSD: fancy.c,v 1.9 1999/02/10 17:08:06 hubertf Exp $"); #endif #endif /* not lint */ @@ -698,7 +698,7 @@ getcaps(s) char *bufp; /* pointer to cap buffer */ char tentry[1024]; /* temporary uncoded caps buffer */ - tgetent(tentry, (char *)s); /* get uncoded termcap entry */ + tgetent(tentry, s); /* get uncoded termcap entry */ LI = tgetnum("li"); /* get number of lines */ if (LI == -1) |