diff options
-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 40b1bfdd32..e948107cf8 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c | |||
@@ -501,7 +501,7 @@ static void codec_thread(void) | |||
501 | static uintptr_t* codec_stack; | 501 | static uintptr_t* codec_stack; |
502 | static size_t codec_stack_size; | 502 | static size_t codec_stack_size; |
503 | 503 | ||
504 | static enum plugin_status test_track(char* filename) | 504 | static 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, '/'); |