output: One more unconst-cast for tputs

Needed on Solaris/OpenIndiana/Illumos/SunOS.
This commit is contained in:
Fabian Homborg
2019-02-13 13:28:13 +01:00
parent 7508865374
commit 3e2e44b673

View File

@@ -550,7 +550,7 @@ rgb_color_t parse_color(const env_var_t &var, bool is_background) {
/// Write specified multibyte string.
void writembs_check(const char *mbs, const char *mbs_name, bool critical, const char *file, long line) {
if (mbs != NULL) {
tputs(mbs, 1, &writeb);
tputs((char *)mbs, 1, &writeb);
} else if (critical) {
auto term = env_stack_t::globals().get(L"TERM");
const wchar_t *fmt =