summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2008-05-13 12:03:07 +0000
committerSteve Bavin <pondlife@pondlife.me>2008-05-13 12:03:07 +0000
commitfa0eabdd9a5208cadf29d92d69509768147fcecd (patch)
treea24b3e8d7c02c3e5e2500e5cb9d640f656f71e2e
parent652657781805d9cc10d744a49fb23eb17019fbbf (diff)
downloadrockbox-fa0eabdd9a5208cadf29d92d69509768147fcecd.tar.gz
rockbox-fa0eabdd9a5208cadf29d92d69509768147fcecd.zip
Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17493 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/test_codec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 40b1bfdd32..e948107cf8 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -501,7 +501,7 @@ static void codec_thread(void)
501static uintptr_t* codec_stack; 501static uintptr_t* codec_stack;
502static size_t codec_stack_size; 502static size_t codec_stack_size;
503 503
504static enum plugin_status test_track(char* filename) 504static enum plugin_status test_track(const char* filename)
505{ 505{
506 size_t n; 506 size_t n;
507 int fd; 507 int fd;
@@ -511,7 +511,7 @@ static enum plugin_status test_track(char* filename)
511 unsigned long speed; 511 unsigned long speed;
512 unsigned long duration; 512 unsigned long duration;
513 struct thread_entry* codecthread_id; 513 struct thread_entry* codecthread_id;
514 char* ch; 514 const char* ch;
515 515
516 /* Display filename (excluding any path)*/ 516 /* Display filename (excluding any path)*/
517 ch = rb->strrchr(filename, '/'); 517 ch = rb->strrchr(filename, '/');