diff --git a/term-utils/setterm.c b/term-utils/setterm.c index f20a5e698..bb13eb3c7 100644 --- a/term-utils/setterm.c +++ b/term-utils/setterm.c @@ -687,7 +687,7 @@ static char *ti_entry(const char *name) { char *buf_ptr; - if ((buf_ptr = tigetstr((char *)name)) == (char *)-1) + if ((buf_ptr = tigetstr(name)) == (char *)-1) buf_ptr = NULL; return buf_ptr; }