summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-02-16 17:58:57 +0000
committerThomas Jarosch <tomj@simonv.com>2011-02-16 17:58:57 +0000
commit1dbea9d95990a6b254dad05aa77c820afa30b6cd (patch)
tree3ee6e8d9ede0272135a79b6166554dc7c490b94f /apps
parent0060fed4517766bfe175efdc668769175da5ac74 (diff)
downloadrockbox-1dbea9d95990a6b254dad05aa77c820afa30b6cd.tar.gz
rockbox-1dbea9d95990a6b254dad05aa77c820afa30b6cd.tar.bz2
rockbox-1dbea9d95990a6b254dad05aa77c820afa30b6cd.zip
No need to cast away const. Thanks to sideral
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29318 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/tagcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 1babde2a02..32b059bc43 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -443,7 +443,7 @@ static long find_entry_disk(const char *filename_raw, bool localfd)
int i;
int pos = -1;
- char *filename = (char *)filename_raw;
+ const char *filename = filename_raw;
#ifdef APPLICATION
char pathbuf[MAX_PATH];
if (realpath(filename, pathbuf) == pathbuf)