Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid warnings on MSVC (#12697)
Warnings in header files can be a problem for consumers that enable `/WX` (or `-Werror`). In this case, using `... & -align` produces a warning (C4146) with MSVC. The fix is to use equivalent expression `... & ~(align - 1)`, which was already used in the same file. Fixes #12675 Closes #12697 COPYBARA_INTEGRATE_REVIEW=#12697 from coryan:fix-msvc-warnings-in-arena-align 835f3b4 PiperOrigin-RevId: 530137165
- Loading branch information