openbsd-ports/audio/ncmpc/patches/patch-src_screen_init_cxx
2022-03-11 18:20:04 +00:00

15 lines
452 B
Plaintext

Index: src/screen_init.cxx
--- src/screen_init.cxx.orig
+++ src/screen_init.cxx
@@ -49,8 +49,8 @@ ScreenManager::ScreenManager(EventLoop &event_loop) no
#ifdef ENABLE_COLORS
if (options.enable_colors) {
/* set background attributes */
- wbkgd(stdscr, COLOR_PAIR(Style::LIST));
- wbkgd(main_window.w, COLOR_PAIR(Style::LIST));
+ wbkgd(stdscr, COLOR_PAIR((int)Style::LIST));
+ wbkgd(main_window.w, COLOR_PAIR((int)Style::LIST));
}
#endif
}