diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2023-04-28 07:23:53 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2023-04-28 07:23:53 +0100 |
commit | 168eab11a7cef7ecd8a42ffec160fe2314442b73 (patch) | |
tree | 8e4be8751831b95ec229d4190ced18a099ab43f6 | |
parent | 39d41d0810d4e8ae6ce8d27776dfbb96722d9319 (diff) |
Cast both strings for tparm.
-rw-r--r-- | tty-term.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |