make it work on the mecker-compiler
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 24 Nov 2005 21:21:32 +0000 (21:21 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 24 Nov 2005 21:21:32 +0000 (21:21 +0000)
lib/dvb_ci/dvbci_mmi.cpp

index 75ca63d..a6a0c8b 100644 (file)
@@ -69,7 +69,7 @@ int eDVBCIMMISession::receivedAPDU(const unsigned char *tag, const void *data, i
                        
                        printf("enq-text: %s\n",str);
                        
-                       eDVBCI_UI::getInstance()->mmiScreenEnq(0, blind, alen, convertDVBUTF8(str).c_str());
+                       eDVBCI_UI::getInstance()->mmiScreenEnq(0, blind, alen, (char*)convertDVBUTF8(str).c_str());
 
                        break;          
                }
@@ -111,7 +111,7 @@ int eDVBCIMMISession::receivedAPDU(const unsigned char *tag, const void *data, i
                                memcpy(str, ((char*)d), textlen);
                                str[textlen] = '\0';
                                
-                               eDVBCI_UI::getInstance()->mmiScreenAddText(0, pos++, convertDVBUTF8(str).c_str());
+                               eDVBCI_UI::getInstance()->mmiScreenAddText(0, pos++, (char*)convertDVBUTF8(str).c_str());
                                        
                                while (textlen--)
                                        printf("%c", *d++);