mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-03 06:20:57 +00:00
pr_edict.c (PR_LoadProgs): silenced a minor compiler warning after the const changes.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@310 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
cd28fc1261
commit
3274be68e3
1 changed files with 1 additions and 1 deletions
|
@ -1051,7 +1051,7 @@ void PR_LoadProgs (void)
|
||||||
pr_maxknownstrings = 0;
|
pr_maxknownstrings = 0;
|
||||||
pr_stringssize = progs->numstrings;
|
pr_stringssize = progs->numstrings;
|
||||||
if (pr_knownstrings)
|
if (pr_knownstrings)
|
||||||
Z_Free (pr_knownstrings);
|
Z_Free ((void *)pr_knownstrings);
|
||||||
pr_knownstrings = NULL;
|
pr_knownstrings = NULL;
|
||||||
PR_SetEngineString(""); // initialize the strings
|
PR_SetEngineString(""); // initialize the strings
|
||||||
pr_globaldefs = (ddef_t *)((byte *)progs + progs->ofs_globaldefs);
|
pr_globaldefs = (ddef_t *)((byte *)progs + progs->ofs_globaldefs);
|
||||||
|
|
Loading…
Reference in a new issue