mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Lunatic: Fix discarded-qualifiers warnings.
git-svn-id: https://svn.eduke32.com/eduke32@5591 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f1d187d378
commit
a61d1b6a11
3 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue