Fixed compilation issues on Ubuntu Linux

see issue 1343
This commit is contained in:
Oliver Duis
2012-05-18 18:30:57 +02:00
parent e5b5d86145
commit c5fd7da96a
3 changed files with 4 additions and 2 deletions

View File

@@ -206,7 +206,7 @@ void XMLCALL LCPProfile::XmlStartHandler(void *pLCPProfile, const char *el, cons
LCPProfile *pProf=static_cast<LCPProfile*>(pLCPProfile);
// clean up tagname
char* src=strrchr(el,':');
const char* src=strrchr(el,':');
if (src==NULL) src=const_cast<char*>(el); else src++;
strcpy(pProf->lastTag,src);