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

Index: src/ProgressBar.cxx
--- src/ProgressBar.cxx.orig
+++ src/ProgressBar.cxx
@@ -29,7 +29,7 @@ ProgressBar::ProgressBar(Point p, unsigned _width) noe
 	leaveok(window.w, true);
 #ifdef ENABLE_COLORS
 	if (options.enable_colors)
-		wbkgd(window.w, COLOR_PAIR(Style::PROGRESSBAR));
+		wbkgd(window.w, COLOR_PAIR((int)Style::PROGRESSBAR));
 #endif
 }
 
