prepare skinning of python GUIComponents
[enigma2.git] / lib / dvb / esection.h
index 6845bfa386bfd46be608904195d02c13d575d9c0..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,9 +38,9 @@ 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)
        {
-               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 +56,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]);