mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
Fix compiler warnings (-Wconversion)
- THX SatBaby for the info
This commit is contained in:
@@ -921,10 +921,10 @@ void CNeutrinoEventList::paint(t_channel_id channel_id)
|
||||
if (sbc < 1)
|
||||
sbc = 1;
|
||||
|
||||
float sbh= (sb- 4)/ sbc;
|
||||
int sbh = ((sb - 4) * 1024) / sbc;
|
||||
int sbs= (selected/listmaxshow);
|
||||
|
||||
frameBuffer->paintBoxRel(x+ width- 13, ypos+ 2+ int(sbs* sbh) , 11, int(sbh), COL_MENUCONTENT_PLUS_3);
|
||||
frameBuffer->paintBoxRel(x+width-13, ypos+2+(sbs*sbh)/1024, 11, sbh/1024, COL_MENUCONTENT_PLUS_3);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user