mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
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:
parent
983ada66b0
commit
9dddb0c78f
@ -649,7 +649,7 @@ char *
|
|||||||
tty_tgetstr (const char *cap)
|
tty_tgetstr (const char *cap)
|
||||||
{
|
{
|
||||||
char *unused = NULL;
|
char *unused = NULL;
|
||||||
return tgetstr ((char *) cap, &unused);
|
return tgetstr (cap, &unused);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user