summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3_clang.patch
blob: b6d0326ef7632a29989251d6d20ac4a926fce458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
compile fix llvm/clang

https://bugs.gentoo.org/740290

Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org> (14 May 2021)
--- a/notifyosd.cpp
+++ b/notifyosd.cpp
@@ -128,7 +128,7 @@
 		delete osd;
 	osd = cOsdProvider::NewOsd(left, top);
 	// defines drawing area and color depth
-	tArea Area = { 0, 0, width-1, height-1, colorDepth };
+	tArea Area = { 0, 0, static_cast<int>(width-1), static_cast<int>(height-1), colorDepth };
 	osd->SetAreas(&Area, 1);
 	// draw osd frame, 2px thick
 	osd->DrawRectangle(0,             0,             width-1,               height-1,               clrBackground);