add support for writing python strings directly
[enigma2.git] / lib / service / servicedvb.cpp
index 8e8fc5e0c3c34d653ec24b7643ad0daa5a89691a..a8485fa4888c9cd4a7d6f706b3934fb8f2601e1a 100644 (file)
@@ -809,7 +809,7 @@ PyObject *eDVBServiceList::getContent(const char* format, bool sorted)
                                                        sptr->getName(ref, name);
 
                                                        // filter short name brakets
-                                                       unsigned int 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)