From 2e90ba76e9e70689b9821c7daaf2110550e05520 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 27 Nov 2006 11:32:52 +0000 Subject: [PATCH 1/1] fix warnings --- lib/dvb/dvbtime.cpp | 2 +- lib/dvb/dvbtime.h | 2 +- lib/dvb/esection.h | 4 ++-- 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 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 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 tableReady; eGTable(); @@ -38,7 +38,7 @@ private: std::vector sections; std::set 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) -- 2.30.2