$OpenBSD: patch-src_TitleBar_cxx,v 1.3 2021/02/20 14:40:40 landry Exp $

Index: src/TitleBar.cxx
--- src/TitleBar.cxx.orig
+++ src/TitleBar.cxx
@@ -37,7 +37,7 @@ TitleBar::TitleBar(Point p, unsigned width) noexcept
 
 #ifdef ENABLE_COLORS
 	if (options.enable_colors)
-		wbkgd(window.w, COLOR_PAIR(Style::TITLE));
+		wbkgd(window.w, COLOR_PAIR((int)Style::TITLE));
 #endif
 }
 
