setterm: fix compiler warnings [-Wcast-qual]
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
58bc493243
commit
df3bc05a7f
|
@ -687,7 +687,7 @@ static char *ti_entry(const char *name)
|
||||||
{
|
{
|
||||||
char *buf_ptr;
|
char *buf_ptr;
|
||||||
|
|
||||||
if ((buf_ptr = tigetstr((char *)name)) == (char *)-1)
|
if ((buf_ptr = tigetstr(name)) == (char *)-1)
|
||||||
buf_ptr = NULL;
|
buf_ptr = NULL;
|
||||||
return buf_ptr;
|
return buf_ptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue