summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-08-25 10:01:10 +0100
committerThomas Adam <thomas@xteddy.org>2021-08-25 10:01:10 +0100
commitc7266ca78d5b9f9645ebbf22530cea85ecf2a584 (patch)
tree16837c6577a96e22e0fcbaaa4e53fdd52df93c44 /tty-term.c
parent6ac09aa47c7fc03a2a418d4723064c100757a428 (diff)
parentc6d6af49039d7fc3ec14c2240153226709497313 (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty-term.c b/tty-term.c
index add71d89..8e07da05 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -670,7 +670,7 @@ tty_term_read_list(const char *name, int fd, char ***caps, u_int *ncaps,
const char *s;
char tmp[11];
- if (setupterm(name, fd, &error) != OK) {
+ if (setupterm((char *)name, fd, &error) != OK) {
switch (error) {
case 1:
xasprintf(cause, "can't use hardcopy terminal: %s",