File epgsearch-gcc6.patch of Package vdr-plugin-epgsearch

Index: b/switchtimer.c
===================================================================
--- a/switchtimer.c
+++ b/switchtimer.c
@@ -157,7 +157,7 @@ bool cSwitchTimer::Save(FILE *f)
 
 cSwitchTimer* cSwitchTimers::InSwitchList(const cEvent* event)
 {
-    if (!event) return false;
+    if (!event) return NULL;
     cMutexLock SwitchTimersLock(this);
     cSwitchTimer* switchTimer = SwitchTimers.First();
     while (switchTimer)
openSUSE Build Service is sponsored by