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 7f8ebb9..5ece09d 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 c441965..2b07a25 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 d7fd728..98d53b4 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)