diff --git a/src/zapit/src/scan.cpp b/src/zapit/src/scan.cpp index 510c7d27f..d9365b286 100644 --- a/src/zapit/src/scan.cpp +++ b/src/zapit/src/scan.cpp @@ -483,7 +483,7 @@ void *start_scanthread(void *scanmode) t_satellite_position position = xmlGetSignedNumericAttribute(search, (char *) "position", 10); if(cable) { - strcpy(providerName, xmlGetAttribute(search, "name")); + strcpy(providerName, xmlGetAttribute(search, const_cast("name"))); for (spI = scanProviders.begin(); spI != scanProviders.end(); spI++) if (!strcmp(spI->second.c_str(), providerName)) { position = spI->first;