From 94d3eff9ce18a269d8081a58e90c07f5a6c01301 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 3 May 2024 15:31:20 +0300 Subject: [PATCH] engine: host: fix build with Q_strchrnul returning const char * --- engine/common/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/host.c b/engine/common/host.c index 1262a59a..a9a4e7d1 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -959,9 +959,9 @@ static void Host_RunTests( int stage ) static uint32_t Host_CheckBugcomp( void ) { + const char *prev, *next; uint32_t flags = 0; string args, arg; - char *prev, *next; size_t i; if( !Sys_CheckParm( "-bugcomp" ))