From 429a3845dc97b7f26634a889518214fc86a3366a Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 9 Jun 2006 15:35:16 +0000 Subject: compile fix --- lib/python/enigma_python.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/enigma_python.i') 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 &result, PyObject *obj) -- cgit v1.2.3