compile fix
[enigma2.git] / lib / python / enigma_python.i
index ad41229350dce5270b5ef82d1a062cadbe1adc1f..b80959c63cb149f3e80072160882707d0ecc870a 100644 (file)
@@ -268,7 +268,7 @@ std::string convertDVBUTF8(std::string text, int table);
 std::string convertDVBUTF8(std::string text, int table)
 {
        int len = text.length();
-       return convertDVBUTF8(len?text.c_str():"", len, table, 0);
+       return convertDVBUTF8(len?(unsigned char*)text.c_str():(unsigned char*)"", len, table, 0);
 }
 
 RESULT SwigFromPython(ePtr<gPixmap> &result, PyObject *obj)