[libc++] Fix a few warnings in system headers with GCC
This isn't fixing all of them, but at least it's making some progress.
Differential Revision: https://reviews.llvm.org/D106283
NOKEYCHECK=True
GitOrigin-RevId: 2e4755ff6058b5032b77ccca04aa6dab7db081a5
diff --git a/include/random b/include/random
index 85d03ee..4a8c2a7 100644
--- a/include/random
+++ b/include/random
@@ -1731,7 +1731,7 @@
template <unsigned long long __a, unsigned long long __c,
unsigned long long __m, unsigned long long _Mp,
bool _MightOverflow = (__a != 0 && __m != 0 && __m-1 > (_Mp-__c)/__a),
- bool _OverflowOK = ((__m|__m-1) > __m), // m = 2^n
+ bool _OverflowOK = ((__m | (__m-1)) > __m), // m = 2^n
bool _SchrageOK = (__a != 0 && __m != 0 && __m % __a <= __m / __a)> // r <= q
struct __lce_alg_picker
{