fix warnings
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 27 Nov 2006 11:32:52 +0000 (11:32 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 27 Nov 2006 11:32:52 +0000 (11:32 +0000)
lib/dvb/dvbtime.cpp
lib/dvb/dvbtime.h
lib/dvb/esection.h

index 7f8ebb98a78f13328ea0c47cc195b113d59b6826..5ece09d31f8f961dd1b18cbcef2e9a6176d47488 100644 (file)
@@ -76,7 +76,7 @@ void TDT::ready(int error)
        eDVBLocalTimeHandler::getInstance()->updateTime(error, chan, ++update_count);
 }
 
-int TDT::createTable(int nr, const __u8 *data, unsigned int max)
+int TDT::createTable(unsigned int nr, const __u8 *data, unsigned int max)
 {
        if ( data && data[0] == 0x70 || data[0] == 0x73 )
        {
index c441965279ef577ac3cd32f823bfd272d04d1a61..2b07a250c967f761a6b65e2bbdd97b9a20221f90 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:
index d7fd728a2b3ad50e23723a7272218e5125bb584a..98d53b48f62e08d0b33ee2c7e35f4fbeb66a7c89 100644 (file)
@@ -19,7 +19,7 @@ private:
        void timeout();
        ePtr<eConnection> m_sectionRead_conn;
 protected:
-       virtual int createTable(int nr, const __u8 *data, unsigned int max)=0;
+       virtual int createTable(unsigned int nr, const __u8 *data, unsigned int max)=0;
 public:
        Signal1<void, int> tableReady;
        eGTable();
@@ -38,7 +38,7 @@ private:
        std::vector<Section*> sections;
        std::set<int> avail;
 protected:
-       int createTable(int nr, const __u8 *data, unsigned int max)
+       int createTable(unsigned int nr, const __u8 *data, unsigned int max)
        {
                unsigned int ssize = sections.size();
                if (max < ssize || nr >= max)