From 4c1b96c30721f78d9251a8074d4d516c37e755b9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 1 Nov 2008 14:55:23 +0100 Subject: decoder: make the suffixes and mime_types arrays really const The strings were constant, but the pointers weren't. C syntax is somewhat tricky.. --- src/decoder/mpc_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder/mpc_plugin.c') diff --git a/src/decoder/mpc_plugin.c b/src/decoder/mpc_plugin.c index 73b315728..9181c4388 100644 --- a/src/decoder/mpc_plugin.c +++ b/src/decoder/mpc_plugin.c @@ -295,7 +295,7 @@ static struct tag *mpcTagDup(const char *file) return ret; } -static const char *mpcSuffixes[] = { "mpc", NULL }; +static const char *const mpcSuffixes[] = { "mpc", NULL }; const struct decoder_plugin mpcPlugin = { .name = "mpc", -- cgit v1.2.3