mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-09 13:02:01 +03:00
Clarify type cast in tgetsrt() calls.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
ccad69bccf
commit
cae521c61d
@ -673,7 +673,8 @@ char *
|
|||||||
tty_tgetstr (const char *cap)
|
tty_tgetstr (const char *cap)
|
||||||
{
|
{
|
||||||
char *unused = NULL;
|
char *unused = NULL;
|
||||||
return tgetstr (cap, &unused);
|
|
||||||
|
return tgetstr ((NCURSES_CONST char *) cap, &unused);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user