summaryrefslogtreecommitdiffstats
path: root/common/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/msg.c')
-rw-r--r--common/msg.c2
1 files changed, 1 insertions, 1 deletions
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",