lib/tty/tty-ncurses.c: cleanup -Wcast-qual warning.

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Mohr 2016-02-20 10:02:59 +00:00 committed by Andrew Borodin
parent 983ada66b0
commit 9dddb0c78f

View File

@ -649,7 +649,7 @@ char *
tty_tgetstr (const char *cap)
{
char *unused = NULL;
return tgetstr ((char *) cap, &unused);
return tgetstr (cap, &unused);
}
/* --------------------------------------------------------------------------------------------- */