diff options
| author | Steve Bavin <pondlife@pondlife.me> | 2008-05-13 12:03:07 +0000 |
|---|---|---|
| committer | Steve Bavin <pondlife@pondlife.me> | 2008-05-13 12:03:07 +0000 |
| commit | fa0eabdd9a5208cadf29d92d69509768147fcecd (patch) | |
| tree | a24b3e8d7c02c3e5e2500e5cb9d640f656f71e2e /apps | |
| parent | 652657781805d9cc10d744a49fb23eb17019fbbf (diff) | |
| download | rockbox-fa0eabdd9a5208cadf29d92d69509768147fcecd.zip rockbox-fa0eabdd9a5208cadf29d92d69509768147fcecd.tar.gz rockbox-fa0eabdd9a5208cadf29d92d69509768147fcecd.tar.bz2 rockbox-fa0eabdd9a5208cadf29d92d69509768147fcecd.tar.xz | |
Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17493 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugins/test_codec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 40b1bfd..e948107 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -501,7 +501,7 @@ static void codec_thread(void) static uintptr_t* codec_stack; 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; int fd; @@ -511,7 +511,7 @@ static enum plugin_status test_track(char* filename) unsigned long speed; unsigned long duration; struct thread_entry* codecthread_id; - char* ch; + const char* ch; /* Display filename (excluding any path)*/ ch = rb->strrchr(filename, '/'); |