aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/enigma_python.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i
index ad412293..b80959c6 100644
--- a/lib/python/enigma_python.i
+++ b/lib/python/enigma_python.i
@@ -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)