$OpenBSD: patch-src_TitleBar_cxx,v 1.2 2020/01/02 09:38:09 bket Exp $

Index: src/TitleBar.cxx
--- src/TitleBar.cxx.orig
+++ src/TitleBar.cxx
@@ -38,7 +38,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
 }
 
