Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49447 - sandbox/mp_math/boost/mp_math/mp_int
From: baraclese_at_[hidden]
Date: 2008-10-24 14:57:12


Author: baraclese
Date: 2008-10-24 14:57:12 EDT (Fri, 24 Oct 2008)
New Revision: 49447
URL: http://svn.boost.org/trac/boost/changeset/49447

Log:
Silence MS Visual Studio warning
Text files modified:
   sandbox/mp_math/boost/mp_math/mp_int/mul.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: sandbox/mp_math/boost/mp_math/mp_int/mul.hpp
==============================================================================
--- sandbox/mp_math/boost/mp_math/mp_int/mul.hpp (original)
+++ sandbox/mp_math/boost/mp_math/mp_int/mul.hpp 2008-10-24 14:57:12 EDT (Fri, 24 Oct 2008)
@@ -36,7 +36,8 @@
     /* get what will be the *next* carry bit from the
      * MSB of the current digit
      */
- const digit_type rr = digits_[x] >> static_cast<digit_type>(valid_bits - 1);
+ const digit_type rr =
+ digits_[x] >> (static_cast<digit_type>(valid_bits - 1));
     
     /* now shift up this digit, add in the carry [from the previous] */
     digits_[x] = (digits_[x] << digit_type(1)) | carry;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk