From 7c52b2dbb14a778045d7c1b1d6392558b5424a6d Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 22 Nov 2011 10:09:51 +0000 Subject: [PATCH] Fix strict compile git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1871 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/9454d8ad64e5b0211aee1065a38262f0bc2f662d Author: [CST] Focus Date: 2011-11-22 (Tue, 22 Nov 2011) ------------------ This commit was generated by Migit --- src/system/lastchannel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/system/lastchannel.cpp b/src/system/lastchannel.cpp index 61a91d85c..e9c9ba568 100644 --- a/src/system/lastchannel.cpp +++ b/src/system/lastchannel.cpp @@ -58,8 +58,7 @@ void CLastChannel::store (int channel, t_channel_id channel_id, bool /* forceSto this->lastChannels.pop_front(); /* push new channel to the head */ - _LastCh newChannel = {channel, channel_id, tv.tv_sec}; - newChannel.channel_mode = CNeutrinoApp::getInstance()->GetChannelMode(); + _LastCh newChannel = {channel, channel_id, tv.tv_sec, CNeutrinoApp::getInstance()->GetChannelMode()}; this->lastChannels.push_front(newChannel);