git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable debug
[enigma2.git]
/
lib
/
dvb
/
esection.h
diff --git
a/lib/dvb/esection.h
b/lib/dvb/esection.h
index 6845bfa386bfd46be608904195d02c13d575d9c0..98d53b48f62e08d0b33ee2c7e35f4fbeb66a7c89 100644
(file)
--- a/
lib/dvb/esection.h
+++ b/
lib/dvb/esection.h
@@
-19,7
+19,7
@@
private:
void timeout();
ePtr<eConnection> m_sectionRead_conn;
protected:
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();
public:
Signal1<void, int> tableReady;
eGTable();
@@
-38,9
+38,9
@@
private:
std::vector<Section*> sections;
std::set<int> avail;
protected:
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)",
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())
for (unsigned int i = 0; i < max; ++i)
if (avail.find(i) != avail.end())
-
printf
("+");
+
eDebugNoNewLine
("+");
else
else
-
printf
("-");
+
eDebugNoNewLine
("-");
eDebug(" %d/%d TID %02x", avail.size(), max, data[0]);
eDebug(" %d/%d TID %02x", avail.size(), max, data[0]);