Fix a warning in a comparison expression

This commit is contained in:
jfmcarreira committed 2014-11-16 21:42:07 +00:00
1 parent 46852ed15c
commit 564a61ef2a
1 file changed
+1 -2
+1 -2
View File
@@ -694,8 +694,7 @@ Void plaYUVerApp::seekEvent( Int direction )
{
if( m_acPlayingSubWindows.contains( m_pcCurrentSubWindow ) )
{
Int frame_num = m_pcCurrentSubWindow->getInputStream()->getCurrFrameNum();
if( !( (frame_num + 1) >= getMaxFrameNumber() && direction > 0 ) )
if( !( (UInt)(m_pcCurrentSubWindow->getInputStream()->getCurrFrameNum() + 1 ) >= getMaxFrameNumber() && direction > 0 ) )
{
for( Int i = 0; i < m_acPlayingSubWindows.size(); i++ )
{