summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2017-01-28 12:06:30 (GMT)
committeranbr <vdr07@deltab.de>2017-01-28 12:06:30 (GMT)
commit31e5ea23f5805fb0630bf5b1f21585653361a353 (patch)
tree411180c8221f4c2d1143dd70fca8d714ffa46a7e
parent21ff4641d19214a9c089339adf24e2d944b5db4b (diff)
downloadvdr-plugin-dvdswitch-31e5ea23f5805fb0630bf5b1f21585653361a353.tar.gz
vdr-plugin-dvdswitch-31e5ea23f5805fb0630bf5b1f21585653361a353.tar.bz2
Fix a GCC warning (to compile with -fpermissive)
-rw-r--r--HISTORY2
-rw-r--r--helpers.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 0977b60..b860766 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,8 @@
VDR Plugin 'dvdswitch' Revision History
---------------------------------------
+- Fix a GCC warning (to compile with -fpermissive)
+
2013-03-23: Version 0.2.2
- Fix: Don't try to move file without selection
- Fix: Crash when image directory is empty, Patch from Matthias Schwarzott (#1308)
diff --git a/helpers.h b/helpers.h
index 899d5ed..71ce660 100644
--- a/helpers.h
+++ b/helpers.h
@@ -70,7 +70,7 @@ class cToken : public cListObject
String = string ? strdup(string) : NULL;
}
~cToken(void) { free(String); }
- char *Value(void) { return String; }
+ const char *Value(void) const { return String; }
};
class cTokenizer : public cList<cToken>