From 31e5ea23f5805fb0630bf5b1f21585653361a353 Mon Sep 17 00:00:00 2001 From: anbr Date: Sat, 28 Jan 2017 13:06:30 +0100 Subject: Fix a GCC warning (to compile with -fpermissive) --- HISTORY | 2 ++ helpers.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3