1
0
Fork 0
forked from len0rd/rockbox

No need to cast away const. Thanks to sideral

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29318 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Jarosch 2011-02-16 17:58:57 +00:00
parent 0060fed451
commit 1dbea9d959

View file

@ -443,7 +443,7 @@ static long find_entry_disk(const char *filename_raw, bool localfd)
int i; int i;
int pos = -1; int pos = -1;
char *filename = (char *)filename_raw; const char *filename = filename_raw;
#ifdef APPLICATION #ifdef APPLICATION
char pathbuf[MAX_PATH]; char pathbuf[MAX_PATH];
if (realpath(filename, pathbuf) == pathbuf) if (realpath(filename, pathbuf) == pathbuf)