summaryrefslogtreecommitdiffstats
path: root/debian/patches/upstream-168eab11a7.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/upstream-168eab11a7.diff')
-rw-r--r--debian/patches/upstream-168eab11a7.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/upstream-168eab11a7.diff b/debian/patches/upstream-168eab11a7.diff
new file mode 100644
index 0000000..be8a90c
--- /dev/null
+++ b/debian/patches/upstream-168eab11a7.diff
@@ -0,0 +1,25 @@
+From 736f7f223235bc050d71565ef243739ef27af066 Mon Sep 17 00:00:00 2001
+From: Nicholas Marriott <nicholas.marriott@gmail.com>
+Date: Fri, 28 Apr 2023 07:23:53 +0100
+Subject: [PATCH 3/4] Cast both strings for tparm.
+
+---
+ tty-term.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tty-term.c b/tty-term.c
+index 18b174208d..f2b548d811 100644
+--- a/tty-term.c
++++ b/tty-term.c
+@@ -839,7 +839,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);
+--
+2.39.2
+