From 3b55f61a87003a2fe0ea8dace4e9867761853bf6 Mon Sep 17 00:00:00 2001 From: Ulrich Eckhardt Date: Fri, 12 May 2017 18:06:54 +0200 Subject: Fix compileproblem on VDR2.2.0 --- radioaudio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radioaudio.c b/radioaudio.c index 2bd33ef..19e63a2 100755 --- a/radioaudio.c +++ b/radioaudio.c @@ -274,7 +274,11 @@ cRDSReceiver::~cRDSReceiver() dsyslog("radio: additional RDS-Receiver stopped"); } +#if VDRVERSNUM >= 20300 void cRDSReceiver::Receive(const uchar *Data, int Length) +#else +void cRDSReceiver::Receive(uchar *Data, int Length) +#endif { const int mframel = 263; // max. 255(MSG)+4(ADD/SQC/MFL)+2(CRC)+2(Start/Stop) of RDS-data static unsigned char mtext[mframel+1]; -- cgit v1.2.3