summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-01-09 16:18:45 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-01-09 16:18:45 +0100
commit299a600c3ce1ae355842be39d452464e524b7e3b (patch)
tree1e17e48dcbb62cb1327d61b597bc38652e6eb2ac
parent6484771bf61aeabbb0d9fc28e257b50fdf2e205b (diff)
downloadvdr-299a600c3ce1ae355842be39d452464e524b7e3b.tar.gz
vdr-299a600c3ce1ae355842be39d452464e524b7e3b.tar.bz2
Fixed a 'const' in libsi/si.h
-rw-r--r--HISTORY3
-rw-r--r--libsi/si.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/HISTORY b/HISTORY
index 5d4e291c..24fd360c 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2538,7 +2538,7 @@ Video Disk Recorder Revision History
overflow that caused a crash when cleaning up the EPG data (at 05:00 in the
morning).
-2004-01-05: Version 1.3.1
+2004-01-09: Version 1.3.1
- Fixed a lockup in the EPG scanner when no non-primary device was available
(thanks to Martin Holst for reporting this one).
@@ -2557,3 +2557,4 @@ Video Disk Recorder Revision History
- Enhanced the SDT filter to handle multi part sections.
- Added support for selecting preferred EPG languages (based upon a patch by
Teemu Rantanen).
+- Fixed a 'const' in libsi/si.h (thanks to Marcel Wiesweg).
diff --git a/libsi/si.h b/libsi/si.h
index 85f368ea..d2ac417c 100644
--- a/libsi/si.h
+++ b/libsi/si.h
@@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: si.h 1.4 2004/01/05 14:54:55 kls Exp $
+ * $Id: si.h 1.5 2004/01/09 15:59:53 kls Exp $
* *
***************************************************************************/
@@ -316,7 +316,7 @@ typedef uint64_t SixtyFourBit;
template <typename T> class TypeLoop : public Loop {
public:
- int getCount() const { return getLength()/sizeof(T); }
+ int getCount() { return getLength()/sizeof(T); }
T operator[](const unsigned int index) const
{
switch (sizeof(T)) {