From 564a61ef2ac3c1ba9a11b23331dc080a670f736f Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sun, 16 Nov 2014 21:42:07 +0000 Subject: [PATCH] Fix a warning in a comparison expression --- source/app/plaYUVerApp.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/app/plaYUVerApp.cpp b/source/app/plaYUVerApp.cpp index 6a0c17d..e1734e0 100644 --- a/source/app/plaYUVerApp.cpp +++ b/source/app/plaYUVerApp.cpp @@ -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++ ) {