mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
Revert "Fix compiler warnings (-Wconversion)"
This reverts commit cd5fd9dab3
.
I have a different, simpler version in my tree. Keep only the
(unsigned char) cast in timerlist.cpp
This commit is contained in:
@@ -760,10 +760,10 @@ void CPictureViewerGui::paint()
|
||||
if (sbc < 1)
|
||||
sbc = 1;
|
||||
|
||||
int sbh = ((sb - 4) * 1024) / sbc;
|
||||
float sbh= (sb- 4)/ sbc;
|
||||
int sbs= (selected/listmaxshow);
|
||||
|
||||
frameBuffer->paintBoxRel(x+width-13, ypos+2+(sbs*sbh)/1024, 11, sbh/1024, COL_MENUCONTENT_PLUS_3);
|
||||
frameBuffer->paintBoxRel(x+ width- 13, ypos+ 2+ int(sbs* sbh) , 11, int(sbh), COL_MENUCONTENT_PLUS_3);
|
||||
|
||||
paintFoot();
|
||||
paintInfo();
|
||||
|
Reference in New Issue
Block a user