mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-15 06:29:24 +00:00
Closes: https://bugs.gentoo.org/955695 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
16 lines
603 B
Diff
16 lines
603 B
Diff
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);
|