aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ls.c b/src/ls.c
index 2f652658c..7a2eb11f7 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -113,9 +113,10 @@ const char *getSuffix(const char *utf8file)
return ret;
}
-struct decoder_plugin *hasMusicSuffix(const char *utf8file, unsigned int next)
+const struct decoder_plugin *
+hasMusicSuffix(const char *utf8file, unsigned int next)
{
- struct decoder_plugin *ret = NULL;
+ const struct decoder_plugin *ret = NULL;
const char *s = getSuffix(utf8file);
if (s) {