artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb4a27
)
setupterm needs char * not const char * on some platforms.
author
nicm
<nicm@openbsd.org>
Wed, 25 Aug 2021 07:37:20 +0000
(07:37 +0000)
committer
nicm
<nicm@openbsd.org>
Wed, 25 Aug 2021 07:37:20 +0000
(07:37 +0000)
usr.bin/tmux/tty-term.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/tty-term.c
b/usr.bin/tmux/tty-term.c
index
ece706d
..
b105008
100644
(file)
--- a/
usr.bin/tmux/tty-term.c
+++ b/
usr.bin/tmux/tty-term.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: tty-term.c,v 1.9
0 2021/06/10 07:45:43
nicm Exp $ */
+/* $OpenBSD: tty-term.c,v 1.9
1 2021/08/25 07:37:20
nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-661,7
+661,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",