summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-06-06 13:48:41 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-06-06 13:48:41 +0200
commit1d03f30e93194ef2cd27d613ed00409dbc54c95e (patch)
tree959c510e4d3d78cb95cfad6b0a94ddba5d132466 /svdrp.c
parent96d25c3be1ead9d1ecd6e1ffadfb57aa42b22c2b (diff)
downloadvdr-1d03f30e93194ef2cd27d613ed00409dbc54c95e.tar.gz
vdr-1d03f30e93194ef2cd27d613ed00409dbc54c95e.tar.bz2
Added some missing 'const' keywords to avoid compilation errors with gcc 4.4
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svdrp.c b/svdrp.c
index cc2f712c..b417a8e1 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
- * $Id: svdrp.c 2.3 2009/04/13 13:35:29 kls Exp $
+ * $Id: svdrp.c 2.4 2009/06/06 13:42:52 kls Exp $
*/
#include "svdrp.h"
@@ -739,7 +739,7 @@ void cSVDRP::CmdGRAB(const char *Option)
char *strtok_next;
FileName = strtok_r(p, delim, &strtok_next);
// image type:
- char *Extension = strrchr(FileName, '.');
+ const char *Extension = strrchr(FileName, '.');
if (Extension) {
if (strcasecmp(Extension, ".jpg") == 0 || strcasecmp(Extension, ".jpeg") == 0)
Jpeg = true;