Compile fix for eepg-0.0.3 with g++ 4.6

Message ID 1313274576.16419.YahooMailClassic@web121713.mail.ne1.yahoo.com
State New
Headers

Commit Message

Chris Rankin Aug. 13, 2011, 10:29 p.m. UTC
  Hi,

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


Cheers,
Chris
  

Comments

Dominic Evans Aug. 15, 2011, 8:22 a.m. UTC | #1
On 13/08/11 23:29, Chris Rankin wrote:
> This patch fixes compilation of the eepg-0.0.3 plugin with g++ 4.6:

FYI eepg is maintained in git here:
   http://projects.vdr-developer.org/git/vdr-plugin-eepg.git/

I believe your fix is already present in master.
  

Patch

--- 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@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;