summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2009-05-31 14:59:35 +0000
committerphintuka <phintuka>2009-05-31 14:59:35 +0000
commit311f1a718e7cf5e371b3b1c7e4f2a7809e9be6a3 (patch)
tree4bb04e47076cbaa816dd2e52f226d88ad7017f36
parentc3022661a377d52bf368b6ee5ccd35a434d24a0b (diff)
downloadxineliboutput-311f1a718e7cf5e371b3b1c7e4f2a7809e9be6a3.tar.gz
xineliboutput-311f1a718e7cf5e371b3b1c7e4f2a7809e9be6a3.tar.bz2
Fixed invalid cast from (const char *) to (char *)
-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;