2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 11:19:59 +01:00

engine: common: fix discarded const qualifier

This commit is contained in:
Alibek Omarov 2024-10-14 19:36:59 +03:00
parent 43e06ccd45
commit 5402a9611e
3 changed files with 3 additions and 3 deletions

View File

@ -1073,7 +1073,7 @@ for various cmds
*/
static qboolean Cmd_AutocompleteName( const char *source, int arg, char *buffer, size_t bufsize )
{
autocomplete_list_t *list;
const autocomplete_list_t *list;
for( list = cmd_list; list->name; list++ )
{

View File

@ -347,7 +347,7 @@ Mod_LoadLump
generic loader
=================
*/
static void Mod_LoadLump( const byte *in, mlumpinfo_t *info, mlumpstat_t *stat, int flags )
static void Mod_LoadLump( const byte *in, const mlumpinfo_t *info, mlumpstat_t *stat, int flags )
{
int version = ((dheader_t *)in)->version;
size_t numelems, real_entrysize;

View File

@ -3072,7 +3072,7 @@ SV_ExecuteUserCommand
*/
static void SV_ExecuteClientCommand( sv_client_t *cl, const char *s )
{
ucmd_t *u;
const ucmd_t *u;
Cmd_TokenizeString( s );