diff options
author | anbr <vdr07@deltab.de> | 2017-01-28 13:06:30 +0100 |
---|---|---|
committer | anbr <vdr07@deltab.de> | 2017-01-28 13:06:30 +0100 |
commit | 31e5ea23f5805fb0630bf5b1f21585653361a353 (patch) | |
tree | 411180c8221f4c2d1143dd70fca8d714ffa46a7e | |
parent | 21ff4641d19214a9c089339adf24e2d944b5db4b (diff) | |
download | vdr-plugin-dvdswitch-31e5ea23f5805fb0630bf5b1f21585653361a353.tar.gz vdr-plugin-dvdswitch-31e5ea23f5805fb0630bf5b1f21585653361a353.tar.bz2 |
Fix a GCC warning (to compile with -fpermissive)
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | helpers.h | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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) @@ -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> |