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

Index: src/StatusBar.cxx
--- src/StatusBar.cxx.orig
+++ src/StatusBar.cxx
@@ -42,7 +42,7 @@ StatusBar::StatusBar(EventLoop &event_loop,
 
 #ifdef ENABLE_COLORS
 	if (options.enable_colors)
-		wbkgd(window.w, COLOR_PAIR(Style::STATUS));
+		wbkgd(window.w, COLOR_PAIR((int)Style::STATUS));
 #endif
 }
 
