[vdr] [PATCH] Compile fix for eepg-0.0.3 with g++ 4.6

Chris Rankin rankincj at yahoo.com
Sun Aug 14 00:29:36 CEST 2011


Hi,

This patch fixes compilation of the eepg-0.0.3 plugin with g++ 4.6:

--- eepg.c.orig	2009-04-30 13:24:57.000000000 +0100
+++ eepg.c	2011-08-13 23:22:25.000000000 +0100
@@ -2684,7 +2684,7 @@
   class cEIT2:public SI::EIT
   {
   public:
-    cEIT2 (cSchedules::cSchedules * Schedules, int Source, u_char Tid, const u_char * Data,
+    cEIT2 (cSchedules * Schedules, int Source, u_char Tid, const u_char * Data,
 	   bool OnlyRunningStatus = false);
 
 // originally from libdtv, Copyright Rolf Hakenes <hakenes at hippomi.de>
@@ -2773,7 +2773,7 @@
   }
 #endif /* NOEPG */
 
-  cEIT2::cEIT2 (cSchedules::cSchedules * Schedules, int Source, u_char Tid, const u_char * Data, bool OnlyRunningStatus)
+  cEIT2::cEIT2 (cSchedules * Schedules, int Source, u_char Tid, const u_char * Data, bool OnlyRunningStatus)
 :  SI::EIT (Data, false) {
     if (!CheckCRCAndParse ())
       return;

Cheers,
Chris




More information about the vdr mailing list