summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/c_std/cmath.tcc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/c_std/cmath.tcc')
-rw-r--r--libstdc++-v3/include/c_std/cmath.tcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/c_std/cmath.tcc b/libstdc++-v3/include/c_std/cmath.tcc
index d771467ec61..c6df0a0ed86 100644
--- a/libstdc++-v3/include/c_std/cmath.tcc
+++ b/libstdc++-v3/include/c_std/cmath.tcc
@@ -40,7 +40,7 @@ namespace std
{
_Tp __y = __n % 2 ? __x : 1;
- while (__n >>= 1)
+ while ((__n >>= 1))
{
__x = __x * __x;
if (__n % 2)
OpenPOWER on IntegriCloud