diff --git a/src/scripting/lua/core.c b/src/scripting/lua/core.c index 1a50062de..25a06e43b 100644 --- a/src/scripting/lua/core.c +++ b/src/scripting/lua/core.c @@ -616,7 +616,7 @@ l_get_option(LS) } case OPT_LANGUAGE: { - char *lang; + const char *lang; #ifdef ENABLE_NLS lang = language_to_name(current_language);