From 4ab8a0466d3473677c45f2098c08371079e39ccd Mon Sep 17 00:00:00 2001 From: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com> Date: Thu, 5 Jun 2025 20:13:17 +0300 Subject: [PATCH] Correct gcc parenthesis warnings --- public/tier1/memblockallocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/tier1/memblockallocator.h b/public/tier1/memblockallocator.h index 96d5232c..5dd1e979 100644 --- a/public/tier1/memblockallocator.h +++ b/public/tier1/memblockallocator.h @@ -112,7 +112,7 @@ inline void CUtlMemoryBlockAllocator::RemoveAll( size_t nSize ) { accumulated_total += m_MemPages[i].m_nTotalSize; - if(removed_at != -1 || nSize && accumulated_total > nSize) + if(removed_at != -1 || (nSize && accumulated_total > nSize)) { CRawAllocator::Free( m_MemPages[i].m_pMemory );