CTimeOSD: use matching data type required by updatePos()

Origin commit data
------------------
Branch: ni/coolstream
Commit: 633fbe43dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-27 (Fri, 27 Sep 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2013-09-27 23:33:07 +02:00
parent 8b02946685
commit d5734afd2e

View File

@@ -127,7 +127,7 @@ void CTimeOSD::update(int position, int duration)
if(!visible)
return;
int percent = 0;
short percent = 0;
if(duration > 100)
percent = (unsigned char) (position / (duration / 100));
if(m_mode == CTimeOSD::MODE_ASC)