mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a 'const' in libsi/si.h
This commit is contained in:
parent
6484771bf6
commit
299a600c3c
3
HISTORY
3
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
|
overflow that caused a crash when cleaning up the EPG data (at 05:00 in the
|
||||||
morning).
|
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
|
- Fixed a lockup in the EPG scanner when no non-primary device was available
|
||||||
(thanks to Martin Holst for reporting this one).
|
(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.
|
- Enhanced the SDT filter to handle multi part sections.
|
||||||
- Added support for selecting preferred EPG languages (based upon a patch by
|
- Added support for selecting preferred EPG languages (based upon a patch by
|
||||||
Teemu Rantanen).
|
Teemu Rantanen).
|
||||||
|
- Fixed a 'const' in libsi/si.h (thanks to Marcel Wiesweg).
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* the Free Software Foundation; either version 2 of the License, or *
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
* (at your option) any later version. *
|
* (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 {
|
template <typename T> class TypeLoop : public Loop {
|
||||||
public:
|
public:
|
||||||
int getCount() const { return getLength()/sizeof(T); }
|
int getCount() { return getLength()/sizeof(T); }
|
||||||
T operator[](const unsigned int index) const
|
T operator[](const unsigned int index) const
|
||||||
{
|
{
|
||||||
switch (sizeof(T)) {
|
switch (sizeof(T)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user