projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea860c2
)
fix: comparison is always true due to limited range of data type
author
Andreas Oberritter
<obi@opendreambox.org>
Wed, 26 Mar 2008 00:35:34 +0000
(
00:35
+0000)
committer
Andreas Oberritter
<obi@opendreambox.org>
Wed, 26 Mar 2008 00:35:34 +0000
(
00:35
+0000)
lib/service/servicedvb.cpp
patch
|
blob
|
history
diff --git
a/lib/service/servicedvb.cpp
b/lib/service/servicedvb.cpp
index
8e8fc5e
..
a8485fa
100644
(file)
--- a/
lib/service/servicedvb.cpp
+++ b/
lib/service/servicedvb.cpp
@@
-809,7
+809,7
@@
PyObject *eDVBServiceList::getContent(const char* format, bool sorted)
sptr->getName(ref, name);
// filter short name brakets
-
unsigned in
t pos;
+
size_
t pos;
while((pos = name.find("\xc2\x86")) != std::string::npos)
name.erase(pos,2);
while((pos = name.find("\xc2\x87")) != std::string::npos)