fix constness

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@78 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
mws
2009-12-16 16:03:21 +00:00
parent bf2cbdbe55
commit 89c4a1b50b

View File

@@ -369,7 +369,7 @@ void CBouquetManager::parseBouquetsXml(const xmlNodePtr root, bool bUser)
while ((search = xmlGetNextOccurence(search, "Bouquet")) != NULL) {
char * name = xmlGetAttribute(search, (char *) "name");
if(name == NULL)
name = "Unknown";
name = const_cast<char*>("Unknown");
//CZapitBouquet* newBouquet = addBouquet(xmlGetAttribute(search, (char *) "name"), bUser);
CZapitBouquet* newBouquet = addBouquet(name, bUser);
char* hidden = xmlGetAttribute(search, (char *) "hidden");