mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
epgview.cpp: avoid possible compiler warnings -Waddress-of-packed-member
Origin commit data
------------------
Branch: ni/coolstream
Commit: b641291347
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-23 (Thu, 23 Jan 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -933,8 +933,8 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
|
||||
if (!mp_info){
|
||||
std::string fromto = epg_start + " - " + epg_end;
|
||||
|
||||
GetPrevNextEPGData(epgData.eventID, &epgData.epg_times.startzeit);
|
||||
time_t epg_start_time = epgData.epg_times.startzeit;
|
||||
GetPrevNextEPGData(epgData.eventID, &epg_start_time);
|
||||
|
||||
Bottombox->enableArrows(prev_id && !call_fromfollowlist, next_id && !call_fromfollowlist);
|
||||
Bottombox->setText(fromto, epg_date);
|
||||
@@ -1083,6 +1083,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
if (g_Timerd->isTimerdAvailable())
|
||||
{
|
||||
bool doRecord = true;
|
||||
time_t epg_start_time = epgData.epg_times.startzeit;
|
||||
recDir = g_settings.network_nfs_recordingdir;
|
||||
if (g_settings.recording_choose_direct_rec_dir == 2) {
|
||||
CFileBrowser b;
|
||||
@@ -1097,7 +1098,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO2]->setSize((int)(g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO2]->getSize() * BIGFONT_FACTOR));
|
||||
}
|
||||
bigFonts = g_settings.bigFonts;
|
||||
show(channel_id,epgData.eventID,&epgData.epg_times.startzeit,false);
|
||||
show(channel_id,epgData.eventID,&epg_start_time,false);
|
||||
showPos=0;
|
||||
}
|
||||
else if (g_settings.recording_choose_direct_rec_dir == 1)
|
||||
@@ -1113,7 +1114,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO2]->setSize((int)(g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO2]->getSize() * BIGFONT_FACTOR));
|
||||
}
|
||||
bigFonts = g_settings.bigFonts;
|
||||
show(channel_id,epgData.eventID,&epgData.epg_times.startzeit,false);
|
||||
show(channel_id,epgData.eventID,&epg_start_time,false);
|
||||
showPos=0;
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
} else
|
||||
@@ -1448,7 +1449,8 @@ void CEpgData::GetEPGData(const t_channel_id channel_id, uint64_t id, time_t* st
|
||||
reformatExtendedEvents("Presenter", g_Locale->getText(LOCALE_EPGEXTENDED_PRESENTER), false, epgData);
|
||||
}
|
||||
|
||||
struct tm *pStartZeit = localtime(&(epgData.epg_times).startzeit);
|
||||
time_t epg_start_time = epgData.epg_times.startzeit;
|
||||
struct tm *pStartZeit = localtime(&epg_start_time);
|
||||
tmp_curent_zeit = (epgData.epg_times).startzeit;
|
||||
char temp[20]={0};
|
||||
strftime( temp, sizeof(temp),"%d.%m.%Y", pStartZeit);
|
||||
|
Reference in New Issue
Block a user