From 95512406807d094b8f90a2fc10199278f72177ae Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 5 Jan 2024 02:35:16 +0300 Subject: [PATCH] engine: host: fix -Werror=parentheses --- 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 f5b96372..d6aef93a 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -245,7 +245,7 @@ void Host_ValidateEngineFeatures( uint32_t features ) Host_PrintEngineFeatures( features ); // now warn about incompatible bits - if( FBitSet( features, ENGINE_STEP_POSHISTORY_LERP|ENGINE_COMPUTE_STUDIO_LERP ) == ENGINE_STEP_POSHISTORY_LERP|ENGINE_COMPUTE_STUDIO_LERP ) + if( FBitSet( features, ENGINE_STEP_POSHISTORY_LERP|ENGINE_COMPUTE_STUDIO_LERP ) == ( ENGINE_STEP_POSHISTORY_LERP|ENGINE_COMPUTE_STUDIO_LERP )) Con_Printf( S_WARN "%s: incompatible ENGINE_STEP_POSHISTORY_LERP and ENGINE_COMPUTE_STUDIO_LERP are enabled!\n", __func__ ); // finally set global variable