From 26bc6b48313dd0470a3998dace217148fc314271 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 10 Oct 2014 13:44:08 +0200 Subject: Add some missing "const"s The one in msg.c was mistakenly removed with commit e99a37f6. I didn't actually test the change in ao_sndio.c (but obviously "ap" shouldn't be static). --- common/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/msg.c') diff --git a/common/msg.c b/common/msg.c index ebd976eaa3..4a4ad80884 100644 --- a/common/msg.c +++ b/common/msg.c @@ -592,7 +592,7 @@ void mp_msg(struct mp_log *log, int lev, const char *format, ...) va_end(va); } -const char *mp_log_levels[MSGL_MAX + 1] = { +const char *const mp_log_levels[MSGL_MAX + 1] = { [MSGL_FATAL] = "fatal", [MSGL_ERR] = "error", [MSGL_WARN] = "warn", -- cgit v1.2.3