From da5ec565679b5d63bbbe943fd43149655fb72740 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 14 Mar 2023 00:35:07 +0300 Subject: [PATCH] engine: common: con_utils: fix const qualifier discard in Con_CheckName --- engine/common/con_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/con_utils.c b/engine/common/con_utils.c index 9ebd9be3..a54def57 100644 --- a/engine/common/con_utils.c +++ b/engine/common/con_utils.c @@ -1041,7 +1041,7 @@ compare first argument with string */ static qboolean Cmd_CheckName( const char *name ) { - char *p = Cmd_Argv( 0 ); + const char *p = Cmd_Argv( 0 ); if( !Q_stricmp( p, name )) return true;