mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
glcd: fix warning: taking address of packed member
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5a5d6d3349
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-11-20 (Sun, 20 Nov 2022)
Origin message was:
------------------
- glcd: fix warning: taking address of packed member
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1132,7 +1132,8 @@ void cGLCD::Run(void)
|
||||
else if (Scale < 0)
|
||||
Scale = 0;
|
||||
char tmp_start[6] = {0};
|
||||
tm = localtime(&info_CurrentNext.current_zeit.startzeit);
|
||||
time_t tmp_start_time = info_CurrentNext.current_zeit.startzeit;
|
||||
tm = localtime(&tmp_start_time);
|
||||
snprintf(tmp_start, sizeof(tmp_start), "%02d:%02d", tm->tm_hour, tm->tm_min);
|
||||
Start = stagingStart = tmp_start;
|
||||
}
|
||||
@@ -1140,7 +1141,8 @@ void cGLCD::Run(void)
|
||||
if (info_CurrentNext.flags & CSectionsdClient::epgflags::has_next)
|
||||
{
|
||||
char tmp_end[6] = {0};
|
||||
tm = localtime(&info_CurrentNext.next_zeit.startzeit);
|
||||
time_t tmp_end_time = info_CurrentNext.next_zeit.startzeit;
|
||||
tm = localtime(&tmp_end_time);
|
||||
snprintf(tmp_end, sizeof(tmp_end), "%02d:%02d", tm->tm_hour, tm->tm_min);
|
||||
End = stagingEnd = tmp_end;
|
||||
}
|
||||
|
Reference in New Issue
Block a user