From 2544afc1b2ab74df638bd11a0a2d63ccba293255 Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 23 Apr 2012 14:19:59 +0100 Subject: Suppress a few compiler warnings with latest gcc. --- vdrtva.c | 6 +++--- 1 file 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; } -- cgit v1.2.3