summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-02-08 14:21:47 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-02-08 14:21:47 +0100
commita30563634d6184145f1b1529ca4502fd49e8e0e9 (patch)
tree1d6af4cb56c4347c1b25473b314abe6ae76ced30 /eit.c
parente5fde77e56743cd2e7ad816d7d0008189928858c (diff)
downloadvdr-a30563634d6184145f1b1529ca4502fd49e8e0e9.tar.gz
vdr-a30563634d6184145f1b1529ca4502fd49e8e0e9.tar.bz2
Added LinkageTypePremiere to libsi/si.h and eit.c to avoid a compiler warning with Clang 3.4.1
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 2ecfc9b4..30c017b5 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 3.4 2014/02/08 12:33:01 kls Exp $
+ * $Id: eit.c 3.5 2014/02/08 14:20:27 kls Exp $
*/
#include "eit.h"
@@ -220,7 +220,7 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data, bo
case SI::LinkageDescriptorTag: {
SI::LinkageDescriptor *ld = (SI::LinkageDescriptor *)d;
tChannelID linkID(Source, ld->getOriginalNetworkId(), ld->getTransportStreamId(), ld->getServiceId());
- if (uint(ld->getLinkageType()) == 0xB0) { // Premiere World
+ if (ld->getLinkageType() == SI::LinkageTypePremiere) { // Premiere World
bool hit = StartTime <= Now && Now < StartTime + Duration;
if (hit) {
char linkName[ld->privateData.getLength() + 1];