mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
CTimeOSD: use matching data type required by updatePos()
This commit is contained in:
@@ -127,7 +127,7 @@ void CTimeOSD::update(int position, int duration)
|
|||||||
if(!visible)
|
if(!visible)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int percent = 0;
|
short percent = 0;
|
||||||
if(duration > 100)
|
if(duration > 100)
|
||||||
percent = (unsigned char) (position / (duration / 100));
|
percent = (unsigned char) (position / (duration / 100));
|
||||||
if(m_mode == CTimeOSD::MODE_ASC)
|
if(m_mode == CTimeOSD::MODE_ASC)
|
||||||
|
Reference in New Issue
Block a user