mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
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:
@@ -369,7 +369,7 @@ void CBouquetManager::parseBouquetsXml(const xmlNodePtr root, bool bUser)
|
|||||||
while ((search = xmlGetNextOccurence(search, "Bouquet")) != NULL) {
|
while ((search = xmlGetNextOccurence(search, "Bouquet")) != NULL) {
|
||||||
char * name = xmlGetAttribute(search, (char *) "name");
|
char * name = xmlGetAttribute(search, (char *) "name");
|
||||||
if(name == NULL)
|
if(name == NULL)
|
||||||
name = "Unknown";
|
name = const_cast<char*>("Unknown");
|
||||||
//CZapitBouquet* newBouquet = addBouquet(xmlGetAttribute(search, (char *) "name"), bUser);
|
//CZapitBouquet* newBouquet = addBouquet(xmlGetAttribute(search, (char *) "name"), bUser);
|
||||||
CZapitBouquet* newBouquet = addBouquet(name, bUser);
|
CZapitBouquet* newBouquet = addBouquet(name, bUser);
|
||||||
char* hidden = xmlGetAttribute(search, (char *) "hidden");
|
char* hidden = xmlGetAttribute(search, (char *) "hidden");
|
||||||
|
Reference in New Issue
Block a user