Lunatic: Fix discarded-qualifiers warnings.

git-svn-id: https://svn.eduke32.com/eduke32@5591 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-01-27 07:30:28 +00:00
parent f1d187d378
commit a61d1b6a11
3 changed files with 3 additions and 3 deletions

View file

@ -9166,7 +9166,7 @@ int32_t initengine(void)
return E_FatalError("Failed creating engine Lua state!");
{
char *luastr = "_LUNATIC_AUX=true; decl=require('ffi').cdef; require'defs_common'";
static char const * const luastr = "_LUNATIC_AUX=true; decl=require('ffi').cdef; require'defs_common'";
if (L_RunString(&g_engState, luastr, -1, "eng"))
return E_FatalError("Failed setting up engine Lua state");

View file

@ -7999,7 +7999,7 @@ extern char forcegl;
#endif
#ifdef LUNATIC
const char **g_argv;
char const * const * g_argv;
#endif
static void G_CheckCommandLine(int32_t argc, char const * const * argv)

View file

@ -9852,7 +9852,7 @@ int32_t loaddefinitions_game(const char *fn, int32_t preload)
}
#ifdef LUNATIC
const char **g_argv;
char const * const * g_argv;
const char **g_elModules;
#endif