X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/8c0683ea5313544bf03af234c0a863f0b1045514..a29bbc0a4ee2eb5f0d86407088380de9887359a0:/lib/dvb/esection.h diff --git a/lib/dvb/esection.h b/lib/dvb/esection.h index 6845bfa3..5dc84ec6 100644 --- a/lib/dvb/esection.h +++ b/lib/dvb/esection.h @@ -6,8 +6,7 @@ class eGTable: public iObject, public Object { -DECLARE_REF(eGTable); -private: + DECLARE_REF(eGTable); ePtr m_reader; eDVBTableSpec m_table; @@ -19,7 +18,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,9 +37,9 @@ 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) { - int ssize = sections.size(); + unsigned int ssize = sections.size(); if (max < ssize || nr >= max) { eDebug("kaputt max(%d) < ssize(%d) || nr(%d) >= max(%d)", @@ -56,9 +55,9 @@ protected: for (unsigned int i = 0; i < max; ++i) if (avail.find(i) != avail.end()) - printf("+"); + eDebugNoNewLine("+"); else - printf("-"); + eDebugNoNewLine("-"); eDebug(" %d/%d TID %02x", avail.size(), max, data[0]);