zapit/src/getservices.cpp: mask also id to search in FindChannel48

Origin commit data
------------------
Commit: 52af48dd89
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-02 (Mon, 02 Apr 2012)
This commit is contained in:
[CST] Focus
2012-04-02 16:26:14 +04:00
parent d25bb2f82a
commit 1b60980b18

View File

@@ -209,7 +209,7 @@ CZapitChannel * CServiceManager::FindCurrentChannel(const t_channel_id channel_i
CZapitChannel * CServiceManager::FindChannel48(const t_channel_id channel_id)
{
for (channel_map_iterator_t it = allchans.begin(); it != allchans.end(); ++it) {
if((it->second.getChannelID() & 0xFFFFFFFFFFFFULL) == channel_id)
if((it->second.getChannelID() & 0xFFFFFFFFFFFFULL) == (channel_id & 0xFFFFFFFFFFFFULL))
return &it->second;
}
return NULL;