summaryrefslogtreecommitdiff
path: root/transfer.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-09-05 11:49:56 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-09-05 11:49:56 +0200
commit50d268538ee714e8e3f88bba0e952c33a75d3777 (patch)
treec6e20605a33ea719c4d491a77bcb67928c785305 /transfer.h
parent3cd5294d8a337ee5cd2ec894c9fbe04ad3a7690d (diff)
downloadvdr-50d268538ee714e8e3f88bba0e952c33a75d3777.tar.gz
vdr-50d268538ee714e8e3f88bba0e952c33a75d3777.tar.bz2
Added a missing 'const' to cReceiver::Receive(), to protect the given Data from being modified
Diffstat (limited to 'transfer.h')
-rw-r--r--transfer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/transfer.h b/transfer.h
index 47a3398e..21d9dd86 100644
--- a/transfer.h
+++ b/transfer.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: transfer.h 2.4 2013/03/01 09:49:46 kls Exp $
+ * $Id: transfer.h 4.1 2015/09/05 11:43:08 kls Exp $
*/
#ifndef __TRANSFER_H
@@ -19,7 +19,7 @@ private:
cPatPmtGenerator patPmtGenerator;
protected:
virtual void Activate(bool On);
- virtual void Receive(uchar *Data, int Length);
+ virtual void Receive(const uchar *Data, int Length);
public:
cTransfer(const cChannel *Channel);
virtual ~cTransfer();