fix latest gcc builds (#19)

Co-authored-by: Danny Parker <DannyParker0001@users.noreply.github.com>
This commit is contained in:
Danny Parker
2021-10-02 03:02:20 +09:30
committed by GitHub
parent 2c6669f5e3
commit 61302b61e7
4 changed files with 4 additions and 4 deletions

View File

@@ -211,7 +211,7 @@ bool CCustomGames::CheckTagFilter( gameserveritem_t &server )
V_SplitString( m_szTagFilter, ",", TagList );
for ( int i = 0; i < TagList.Count(); i++ )
{
if ( ( Q_strnistr( server.m_szGameTags, TagList[i], MAX_TAG_CHARACTERS ) > 0 ) == TagsExclude() )
if ( ( Q_strnistr( server.m_szGameTags, TagList[i], MAX_TAG_CHARACTERS ) > (const char*)0 ) == TagsExclude() )
{
bRetVal = false;
break;