From 281105f0c7cdb70cfb532020cb8c3c3c8f1611e2 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Fri, 22 Jun 2012 08:54:47 +0200 Subject: Fixed compiler error in client/device.c with VDR < 1.7.22 (reported by Uwe@vdrportal) --- client/device.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client') diff --git a/client/device.c b/client/device.c index 13c5aaa..c42924b 100644 --- a/client/device.c +++ b/client/device.c @@ -117,7 +117,11 @@ bool cStreamdevDevice::ProvidesChannel(const cChannel *Channel, int Priority, return false; } +#if APIVERSNUM >= 10722 if (IsTunedToTransponder(Channel)) { +#else + if (const_cast(this)->IsTunedToTransponder(Channel)) { +#endif if (Channel->Ca() < CA_ENCRYPTED_MIN || (Channel->Vpid() && HasPid(Channel->Vpid())) || (Channel->Apid(0) && HasPid(Channel->Apid(0)))) -- cgit v1.2.3