$OpenBSD: patch-src_screen_init_cxx,v 1.4 2021/02/20 14:40:40 landry Exp $

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
 }
