summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>