mirror of
https://github.com/tmux/tmux.git
synced 2025-01-10 01:58:51 +00:00
Cast both strings for tparm.
This commit is contained in:
parent
39d41d0810
commit
168eab11a7
@ -845,7 +845,7 @@ tty_term_string_ss(struct tty_term *term, enum tty_code_code code,
|
|||||||
#elif defined(HAVE_TIPARM)
|
#elif defined(HAVE_TIPARM)
|
||||||
s = tiparm(x, a, b);
|
s = tiparm(x, a, b);
|
||||||
#else
|
#else
|
||||||
s = tparm((char *)x, (long)a, b, 0, 0, 0, 0, 0, 0, 0);
|
s = tparm((char *)x, (long)a, (long)b, 0, 0, 0, 0, 0, 0, 0);
|
||||||
#endif
|
#endif
|
||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
fatalx("could not expand %s", tty_term_codes[code].name);
|
fatalx("could not expand %s", tty_term_codes[code].name);
|
||||||
|
Loading…
Reference in New Issue
Block a user