diff options
| author | Thomas Jarosch <tomj@simonv.com> | 2011-02-16 17:58:57 +0000 |
|---|---|---|
| committer | Thomas Jarosch <tomj@simonv.com> | 2011-02-16 17:58:57 +0000 |
| commit | 1dbea9d95990a6b254dad05aa77c820afa30b6cd (patch) | |
| tree | 3ee6e8d9ede0272135a79b6166554dc7c490b94f | |
| parent | 0060fed4517766bfe175efdc668769175da5ac74 (diff) | |
| download | rockbox-1dbea9d95990a6b254dad05aa77c820afa30b6cd.zip rockbox-1dbea9d95990a6b254dad05aa77c820afa30b6cd.tar.gz rockbox-1dbea9d95990a6b254dad05aa77c820afa30b6cd.tar.bz2 rockbox-1dbea9d95990a6b254dad05aa77c820afa30b6cd.tar.xz | |
No need to cast away const. Thanks to sideral
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29318 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/tagcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 1babde2..32b059b 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) |