From df788e5536b504795ea9b45956c0679309273c0b Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 16 Mar 2012 14:27:58 +0400 Subject: [PATCH] gui/channellist.cpp: fix warning Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/984eccc84a6fc057e3a69eb0814133ff32b827f4 Author: [CST] Focus Date: 2012-03-16 (Fri, 16 Mar 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 7eaa1d70c..7ac8b367a 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -462,7 +462,7 @@ int CChannelList::exec() { displayNext = 0; // always start with current events int nNewChannel = show(); - if ( nNewChannel > -1 && nNewChannel < chanlist.size()) { + if ( nNewChannel > -1 && nNewChannel < (int) chanlist.size()) { if(this->historyMode && chanlist[nNewChannel]) { int new_mode = CNeutrinoApp::getInstance()->channelList->getLastChannels().get_mode(chanlist[nNewChannel]->channel_id); if(new_mode >= 0)