summaryrefslogtreecommitdiff
path: root/timer.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-06-10 17:26:34 +0200
committerhorchi <vdr@jwendel.de>2017-06-10 17:26:34 +0200
commit5e865739392dba0929e8b416f18f9688a56c86e7 (patch)
tree13ef113ffcde41135ef8cdd3b455212754716e61 /timer.c
parent2685239d3331e50ceebeaf03814aff883c2fa15d (diff)
downloadvdr-plugin-epg2vdr-5e865739392dba0929e8b416f18f9688a56c86e7.tar.gz
vdr-plugin-epg2vdr-5e865739392dba0929e8b416f18f9688a56c86e7.tar.bz2
2017-06-10: version 1.1.66 (horchi)\n - Bugfix: Fixed vdr 2.2.0 compile problem (thx to Alexander Grothe)\n\n1.1.66
Diffstat (limited to 'timer.c')
-rw-r--r--timer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/timer.c b/timer.c
index 78d848f..9cc3e62 100644
--- a/timer.c
+++ b/timer.c
@@ -266,7 +266,11 @@ int cUpdate::performTimerJobs()
}
else
{
+#if APIVERSNUM >= 20301
const cChannel* channel = channels->GetByChannelID(channelId);
+#else
+ cChannel* channel = channels->GetByChannelID(channelId);
+#endif
timer = new cTimer(no, no, channel); // timer without a event
}