summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-01-01 14:48:03 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-01-01 14:48:03 +0100
commitbd4afb48fc29e4206f24701a17edf3540f220002 (patch)
treea176065130bb6b0098ab6d72cf5209cb2fffee1d
parent4e354bc9a0f9a67e842932b1de9da889488c8a2b (diff)
downloadvdr-bd4afb48fc29e4206f24701a17edf3540f220002.tar.gz
vdr-bd4afb48fc29e4206f24701a17edf3540f220002.tar.bz2
Fix for some compilers
-rw-r--r--recording.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/recording.c b/recording.c
index da90a0d8..e649be42 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 1.22 2000/12/16 14:25:14 kls Exp $
+ * $Id: recording.c 1.23 2001/01/01 14:48:03 kls Exp $
*/
#define _GNU_SOURCE
@@ -318,7 +318,7 @@ bool cMark::Save(FILE *f)
bool cMarks::Load(const char *RecordingFileName)
{
const char *MarksFile = AddDirectory(RecordingFileName, MARKSFILESUFFIX);
- if (cConfig::Load(MarksFile)) {
+ if (cConfig<cMark>::Load(MarksFile)) {
Sort();
return true;
}
@@ -341,7 +341,7 @@ cMark *cMarks::Add(int Position)
{
cMark *m = Get(Position);
if (!m) {
- cConfig::Add(m = new cMark(Position));
+ cConfig<cMark>::Add(m = new cMark(Position));
Sort();
}
return m;