summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 71f7e70b..0144e40d 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c,v 1.61 2009-01-08 11:58:33 rofafor Exp $
+ * $Id: menu.c,v 1.62 2009-05-31 14:59:35 phintuka Exp $
*
*/
@@ -94,7 +94,7 @@ static char *ParentDir(const char *dir)
static char *LastDir(const char *dir)
{
- char *pt = strrchr(dir, '/');
+ const char *pt = strrchr(dir, '/');
if(pt && pt[0] && pt[1])
return strdup(pt+1);
return NULL;