diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-19 13:57:48 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-19 14:04:11 +0100 |
commit | 2d7e4573fc6b9ce6b34f97e673a469d07763ce90 (patch) | |
tree | 2fbcf571ec8acf05f1e578fc1069e1e6151cc097 /sfeed_twtxt.1 | |
parent | 2542a7773711da8d6cea85a007bcc5a2e2b2ffb0 (diff) |
fix a compiler warning with (Net)BSD curses
Some curses implementations have tparm(char *) (BSD and older ncurses), some
have tparm(const char *).
The older POSIX specification had: tparm(char *):
https://pubs.opengroup.org/onlinepubs/7908799/xcurses/term.h.html
Just cast it to char *. The terminfo variables are defined elsewhere so it
should be safe.
Also remove an unnecesary cast in minicurses.
Hopefully this satisfies all curses variants and versions now.
Diffstat (limited to 'sfeed_twtxt.1')
0 files changed, 0 insertions, 0 deletions