aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2018-09-05 08:41:33 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2018-09-05 08:42:17 +0100
commit621bb15b839956b9ebcc0d4ebe575f2121e89f9f (patch)
tree798488080ace32c30e31d427bb94b577f6e00ec7 /tty-term.c
parent8e24b0bb3e32fe3fd7b60af990a9566fcda55a67 (diff)
downloadrtmux-621bb15b839956b9ebcc0d4ebe575f2121e89f9f.tar.gz
rtmux-621bb15b839956b9ebcc0d4ebe575f2121e89f9f.tar.bz2
rtmux-621bb15b839956b9ebcc0d4ebe575f2121e89f9f.zip
Cast parameters to tparm, from Christos Zoulas via Leonardo Taccari.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty-term.c b/tty-term.c
index f81c93c0..12c1afb2 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -616,14 +616,14 @@ tty_term_string3(struct tty_term *term, enum tty_code_code code, int a, int b, i
const char *
tty_term_ptr1(struct tty_term *term, enum tty_code_code code, const void *a)
{
- return (tparm((char *) tty_term_string(term, code), a, 0, 0, 0, 0, 0, 0, 0, 0));
+ return (tparm((char *) tty_term_string(term, code), (long)a, 0, 0, 0, 0, 0, 0, 0, 0));
}
const char *
tty_term_ptr2(struct tty_term *term, enum tty_code_code code, const void *a,
const void *b)
{
- return (tparm((char *) tty_term_string(term, code), a, b, 0, 0, 0, 0, 0, 0, 0));
+ return (tparm((char *) tty_term_string(term, code), (long)a, (long)b, 0, 0, 0, 0, 0, 0, 0));
}
int