lcd4l:fix comil warninig

This commit is contained in:
Jacek Jendrzej
2020-01-27 13:52:15 +01:00
committed by Thilo Graf
parent 098438a5ff
commit cadde59c0f

View File

@@ -892,7 +892,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
CSectionsdClient::CurrentNextInfo CurrentNext; CSectionsdClient::CurrentNextInfo CurrentNext;
CEitManager::getInstance()->getCurrentNextServiceKey(channel_id, CurrentNext); CEitManager::getInstance()->getCurrentNextServiceKey(channel_id, CurrentNext);
if (CSectionsdClient::epgflags::has_current) if (CurrentNext.flags & CSectionsdClient::epgflags::has_current)
{ {
if (!CurrentNext.current_name.empty()) if (!CurrentNext.current_name.empty())
Event = CurrentNext.current_name; Event = CurrentNext.current_name;
@@ -925,7 +925,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
snprintf(Start, sizeof(Start), "%02d:%02d", tm_struct->tm_hour, tm_struct->tm_min); snprintf(Start, sizeof(Start), "%02d:%02d", tm_struct->tm_hour, tm_struct->tm_min);
} }
if (CSectionsdClient::epgflags::has_next) if (CurrentNext.flags & CSectionsdClient::epgflags::has_next)
{ {
Event += "\n"+ CurrentNext.next_name; Event += "\n"+ CurrentNext.next_name;
time_t next_start_time = CurrentNext.next_zeit.startzeit; time_t next_start_time = CurrentNext.next_zeit.startzeit;