mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/channellist.cpp: fix warning
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user