aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-06-09 15:35:16 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-06-09 15:35:16 +0000
commit429a3845dc97b7f26634a889518214fc86a3366a (patch)
tree374cff319d2392e317a72cefb86de440105c8969
parent6798f163cf317e89a65d38377fb3dc1475b37ae6 (diff)
downloadenigma2-429a3845dc97b7f26634a889518214fc86a3366a.tar.gz
enigma2-429a3845dc97b7f26634a889518214fc86a3366a.zip
compile fix
-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)