1
0
Fork 0
forked from len0rd/rockbox

Fix warning.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17493 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Steve Bavin 2008-05-13 12:03:07 +00:00
parent 6526577818
commit fa0eabdd9a

View file

@ -501,7 +501,7 @@ static void codec_thread(void)
static uintptr_t* codec_stack; static uintptr_t* codec_stack;
static size_t codec_stack_size; static size_t codec_stack_size;
static enum plugin_status test_track(char* filename) static enum plugin_status test_track(const char* filename)
{ {
size_t n; size_t n;
int fd; int fd;
@ -511,7 +511,7 @@ static enum plugin_status test_track(char* filename)
unsigned long speed; unsigned long speed;
unsigned long duration; unsigned long duration;
struct thread_entry* codecthread_id; struct thread_entry* codecthread_id;
char* ch; const char* ch;
/* Display filename (excluding any path)*/ /* Display filename (excluding any path)*/
ch = rb->strrchr(filename, '/'); ch = rb->strrchr(filename, '/');