From 9454d8ad64e5b0211aee1065a38262f0bc2f662d Mon Sep 17 00:00:00 2001 From: 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 --- 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);