summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-05-10 14:55:15 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-05-10 14:55:15 +0200
commit8a7dbd1e566791814164b00f47f886b4b5d15f4d (patch)
tree0eba42b662b5301731b10f1fa500f361a5162ed4 /eit.c
parentaae1aa527167c32e50e1fda77801b521cee3f76d (diff)
downloadvdr-8a7dbd1e566791814164b00f47f886b4b5d15f4d.tar.gz
vdr-8a7dbd1e566791814164b00f47f886b4b5d15f4d.tar.bz2
Fixed use of time_t in cEIT::cEIT()
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eit.c b/eit.c
index b78c1179..8e8dd490 100644
--- a/eit.c
+++ b/eit.c
@@ -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)