summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2023-04-28 07:23:53 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2023-04-28 07:23:53 +0100
commit168eab11a7cef7ecd8a42ffec160fe2314442b73 (patch)
tree8e4be8751831b95ec229d4190ced18a099ab43f6 /tty-term.c
parent39d41d0810d4e8ae6ce8d27776dfbb96722d9319 (diff)
Cast both strings for tparm.
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 98b7dd1a..6eb56ec5 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -845,7 +845,7 @@ tty_term_string_ss(struct tty_term *term, enum tty_code_code code,
#elif defined(HAVE_TIPARM)
s = tiparm(x, a, b);
#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
if (s == NULL)
fatalx("could not expand %s", tty_term_codes[code].name);