mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-25 05:11:07 +00:00
NX: Fix -Wdiscarded-qualifiers warning
/__w/quakespasm/quakespasm/source/gl_hud.c: In function 'HUD_WorldText': /__w/quakespasm/quakespasm/source/gl_hud.c:691:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 691 | data = COM_Parse(cl.worldmodel->entities); | ^ /__w/quakespasm/quakespasm/source/gl_hud.c:699:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 699 | data = COM_Parse(data); | ^ /__w/quakespasm/quakespasm/source/gl_hud.c:714:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 714 | data = COM_Parse(data); | ^
This commit is contained in:
parent
70bec7322b
commit
88c161c004
1 changed files with 1 additions and 1 deletions
|
@ -685,7 +685,7 @@ void HUD_WorldText(float alpha)
|
||||||
{
|
{
|
||||||
// for parser
|
// for parser
|
||||||
char key[128], value[4096];
|
char key[128], value[4096];
|
||||||
char *data;
|
const char *data;
|
||||||
|
|
||||||
// first, parse worldspawn
|
// first, parse worldspawn
|
||||||
data = COM_Parse(cl.worldmodel->entities);
|
data = COM_Parse(cl.worldmodel->entities);
|
||||||
|
|
Loading…
Reference in a new issue