aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-27 11:32:52 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-27 11:32:52 +0000
commit2e90ba76e9e70689b9821c7daaf2110550e05520 (patch)
treec39e1553b0364c19f6a162676a82a85d248a031f /lib/dvb
parentdc6d1cf177e2d72829720075f236d8eef990fd34 (diff)
downloadenigma2-2e90ba76e9e70689b9821c7daaf2110550e05520.tar.gz
enigma2-2e90ba76e9e70689b9821c7daaf2110550e05520.zip
fix warnings
Diffstat (limited to 'lib/dvb')
-rw-r--r--lib/dvb/dvbtime.cpp2
-rw-r--r--lib/dvb/dvbtime.h2
-rw-r--r--lib/dvb/esection.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/dvb/dvbtime.cpp b/lib/dvb/dvbtime.cpp
index 7f8ebb98..5ece09d3 100644
--- a/lib/dvb/dvbtime.cpp
+++ b/lib/dvb/dvbtime.cpp
@@ -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 )
{
diff --git a/lib/dvb/dvbtime.h b/lib/dvb/dvbtime.h
index c4419652..2b07a250 100644
--- a/lib/dvb/dvbtime.h
+++ b/lib/dvb/dvbtime.h
@@ -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:
diff --git a/lib/dvb/esection.h b/lib/dvb/esection.h
index d7fd728a..98d53b48 100644
--- a/lib/dvb/esection.h
+++ b/lib/dvb/esection.h
@@ -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)