From 30f398858300ca16e731bd5decd2eef2a5d26edd Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Tue, 10 Feb 2015 14:56:21 +0100 Subject: [PATCH] zapit/channel: remove bogus (char *) cast --- src/zapit/src/channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zapit/src/channel.cpp b/src/zapit/src/channel.cpp index 320613c34..c13337cbc 100644 --- a/src/zapit/src/channel.cpp +++ b/src/zapit/src/channel.cpp @@ -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);