diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-05-10 14:55:15 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-05-10 14:55:15 +0200 |
commit | 8a7dbd1e566791814164b00f47f886b4b5d15f4d (patch) | |
tree | 0eba42b662b5301731b10f1fa500f361a5162ed4 /eit.c | |
parent | aae1aa527167c32e50e1fda77801b521cee3f76d (diff) | |
download | vdr-8a7dbd1e566791814164b00f47f886b4b5d15f4d.tar.gz vdr-8a7dbd1e566791814164b00f47f886b4b5d15f4d.tar.bz2 |
Fixed use of time_t in cEIT::cEIT()
Diffstat (limited to 'eit.c')
-rw-r--r-- | eit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg <marcel.wiesweg@gmx.de>. * - * $Id: eit.c 2.3 2009/04/11 10:03:24 kls Exp $ + * $Id: eit.c 2.4 2009/05/10 14:47:31 kls Exp $ */ #include "eit.h" @@ -49,7 +49,7 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data, bo SI::EIT::Event SiEitEvent; for (SI::Loop::Iterator it; eventLoop.getNext(SiEitEvent, it); ) { bool ExternalData = false; - int StartTime = SiEitEvent.getStartTime(); + time_t StartTime = SiEitEvent.getStartTime(); int Duration = SiEitEvent.getDuration(); // Drop bogus events - but keep NVOD reference events, where all bits of the start time field are set to 1, resulting in a negative number. if (StartTime == 0 || StartTime > 0 && Duration == 0) |