summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave <vdr@pickles.me.uk>2012-04-23 14:19:59 +0100
committerDave <vdr@pickles.me.uk>2012-04-23 14:19:59 +0100
commit2544afc1b2ab74df638bd11a0a2d63ccba293255 (patch)
treefaa0fb07bb17b7502234362349d94fbc5a9f4f72
parentacdfd5dfd2498d0a5e5353fb838d231b50aa5492 (diff)
downloadvdrtva-2544afc1b2ab74df638bd11a0a2d63ccba293255.tar.gz
vdrtva-2544afc1b2ab74df638bd11a0a2d63ccba293255.tar.bz2
Suppress a few compiler warnings with latest gcc.
-rw-r--r--vdrtva.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vdrtva.c b/vdrtva.c
index 6ca5dec..cc25350 100644
--- a/vdrtva.c
+++ b/vdrtva.c
@@ -677,7 +677,7 @@ void cPluginvdrTva::CheckChangedEvents()
const cChannel *channel = ti->Channel();
const cSchedule *schedule = Schedules->GetSchedule(channel);
if (schedule && ti->HasFlags(tfActive)) {
- const cEvent *event = schedule->GetEvent(NULL, ti->StartTime());
+ const cEvent *event = schedule->GetEvent(0, ti->StartTime());
const char *file = strrchr(ti->File(), '~');
if (!file) file = ti->File();
else file++;
@@ -908,7 +908,7 @@ void cPluginvdrTva::tvasyslog(const char *Fmt, ...) {
cTvaStatusMonitor::cTvaStatusMonitor(void)
{
- timeradded = NULL;
+ timeradded = 0;
lasttimer = NULL;
}
@@ -930,7 +930,7 @@ int cTvaStatusMonitor::GetTimerAddedDelta(void)
void cTvaStatusMonitor::ClearTimerAdded(void)
{
- timeradded = NULL;
+ timeradded = 0;
return;
}