]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/integer/common_factor_rt.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / integer / common_factor_rt.hpp
index 65f18d24aff68cebfc5e72ff67b3e9937607841b..f9f26d39328feef5034c2091568e339a88ef3ffe 100644 (file)
@@ -129,7 +129,7 @@ namespace boost {
          BOOST_FORCEINLINE static BOOST_CXX14_CONSTEXPR unsigned make_odd(T& val) BOOST_GCD_NOEXCEPT(T)
          {
             unsigned r = 0;
-            while(0 == (val & 1u))
+            while (T(0) == (val & 1u))
             {
 #ifdef _MSC_VER  // VC++ can't handle operator >>= in constexpr code for some reason
                val = val >> 1;