Clarify type cast in tgetsrt() calls.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2016-04-18 16:16:12 +03:00
parent ccad69bccf
commit cae521c61d

View File

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