mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-26 01:28:42 +00:00
4be8e0bcfb
GCC thinks `m_Buf + m_BufLen` can be outside the bound of `m_Buf`. That is because `m_BufLen + len < CHUNK_SIZE` can evaluate to `true` even if `m_BufLen` is bigger than `CHUNK_SIZE` due to wrapping. Tell GCC that it's not possible.