mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
zapit/channel: remove bogus (char *) cast
This commit is contained in:
committed by
Jacek Jendrzej
parent
b90991da77
commit
30f3988583
@@ -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);
|
||||
|
Reference in New Issue
Block a user