zapit/channel: remove bogus (char *) cast

Origin commit data
------------------
Commit: 8004564022
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-10 (Tue, 10 Feb 2015)
This commit is contained in:
Stefan Seyfried
2015-02-10 14:56:21 +01:00
parent 718f80248b
commit 1e0c14b009

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);