fix memory corruption on showSinglePic
[enigma2.git] / lib / dvb / dvbtime.h
index c441965279ef577ac3cd32f823bfd272d04d1a61..a5114f82a1eeb063ae287c0e9ab3b43afdd5b8cb 100644 (file)
@@ -32,7 +32,7 @@ class TDT: public eGTable
        eDVBChannel *chan;
        ePtr<iDVBDemux> demux;
        eTimer m_interval_timer;
-       int createTable(int nr, const __u8 *data, unsigned int max);
+       int createTable(unsigned int nr, const __u8 *data, unsigned int max);
        void ready(int);
        int update_count;
 public:
@@ -73,10 +73,10 @@ class eDVBLocalTimeHandler: public Object
 #endif
 public:
 #ifndef SWIG
-       PSignal0<void> m_timeUpdated;
        eDVBLocalTimeHandler();
        ~eDVBLocalTimeHandler();
 #endif
+       PSignal0<void> m_timeUpdated;
        time_t nowTime() const { return m_time_ready ? ::time(0)+m_time_difference : -1; }
        bool ready() const { return m_time_ready; }
        int difference() const { return m_time_difference; }