mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
channellist.cpp fix compil -comparison between signed and unsigned integer expressions
Origin commit data
------------------
Branch: ni/coolstream
Commit: c32266e8f4
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-05-13 (Mon, 13 May 2013)
Origin message was:
------------------
channellist.cpp fix compil -comparison between signed and unsigned integer expressions
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2228,6 +2228,7 @@ void CChannelList::paint_events(int index)
|
|||||||
CChannelEventList::iterator e;
|
CChannelEventList::iterator e;
|
||||||
time_t azeit;
|
time_t azeit;
|
||||||
time(&azeit);
|
time(&azeit);
|
||||||
|
unsigned int u_azeit = ( azeit > -1)? azeit:0;
|
||||||
|
|
||||||
if ( evtlist.empty() )
|
if ( evtlist.empty() )
|
||||||
{
|
{
|
||||||
@@ -2243,7 +2244,7 @@ void CChannelList::paint_events(int index)
|
|||||||
for (e=evtlist.begin(); e!=evtlist.end(); ++e )
|
for (e=evtlist.begin(); e!=evtlist.end(); ++e )
|
||||||
{
|
{
|
||||||
//Remove events in the past
|
//Remove events in the past
|
||||||
if ( (azeit > (e->startTime + e->duration)) && (!(e->eventID == 0)))
|
if ( (u_azeit > (e->startTime + e->duration)) && (!(e->eventID == 0)))
|
||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
@@ -2252,7 +2253,7 @@ void CChannelList::paint_events(int index)
|
|||||||
if (e == evtlist.end())
|
if (e == evtlist.end())
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
while ( azeit > (e->startTime + e->duration));
|
while ( u_azeit > (e->startTime + e->duration));
|
||||||
}
|
}
|
||||||
if (e == evtlist.end())
|
if (e == evtlist.end())
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user