zapit/channel: remove bogus (char *) cast

This commit is contained in:
Stefan Seyfried
2015-02-10 14:56:21 +01:00
committed by Jacek Jendrzej
parent b90991da77
commit 30f3988583

View File

@@ -194,7 +194,7 @@ bool CZapitChannel::isHD()
//printf("[zapit] HD channel: %s type 0x%X\n", name.c_str(), serviceType);
return true;
case ST_DIGITAL_TELEVISION_SERVICE: {
char * temp = (char *) name.c_str();
const char *temp = name.c_str();
int len = name.size();
if((len > 1) && temp[len-2] == 'H' && temp[len-1] == 'D') {
//printf("[zapit] HD channel: %s type 0x%X\n", name.c_str(), serviceType);