Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
peak3d committed May 29, 2019
1 parent 06d0000 commit 3962081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/TTML.cpp
Expand Up @@ -302,7 +302,7 @@ uint64_t TTML2SRT::GetTime(const char *tmchar)
else if (strlen(ctf) == 2 && del == ':')
{
if (m_frameRate)
tf = (tf * 1000 / m_frameRate);
tf = static_cast<unsigned int>((tf * 1000) / m_frameRate);
else
tf = (tf * 1000 / 30);
}
Expand Down

0 comments on commit 3962081

Please sign in to comment.