From 89c4a1b50b8e8e42effbe0753b536da7709acd5c Mon Sep 17 00:00:00 2001 From: mws Date: Wed, 16 Dec 2009 16:03:21 +0000 Subject: [PATCH] fix constness git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@78 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/zapit/src/bouquets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zapit/src/bouquets.cpp b/src/zapit/src/bouquets.cpp index ef08a6c23..ec43b0330 100644 --- a/src/zapit/src/bouquets.cpp +++ b/src/zapit/src/bouquets.cpp @@ -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("Unknown"); //CZapitBouquet* newBouquet = addBouquet(xmlGetAttribute(search, (char *) "name"), bUser); CZapitBouquet* newBouquet = addBouquet(name, bUser); char* hidden = xmlGetAttribute(search, (char *) "hidden");