diff options
author | phintuka <phintuka> | 2009-05-31 14:59:35 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2009-05-31 14:59:35 +0000 |
commit | 311f1a718e7cf5e371b3b1c7e4f2a7809e9be6a3 (patch) | |
tree | 4bb04e47076cbaa816dd2e52f226d88ad7017f36 | |
parent | c3022661a377d52bf368b6ee5ccd35a434d24a0b (diff) | |
download | xineliboutput-311f1a718e7cf5e371b3b1c7e4f2a7809e9be6a3.tar.gz xineliboutput-311f1a718e7cf5e371b3b1c7e4f2a7809e9be6a3.tar.bz2 |
Fixed invalid cast from (const char *) to (char *)
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |