Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63990 - sandbox/SOC/2010/bit_masks/boost/integer
From: bbartmanboost_at_[hidden]
Date: 2010-07-13 14:52:24


Author: bbartman
Date: 2010-07-13 14:52:23 EDT (Tue, 13 Jul 2010)
New Revision: 63990
URL: http://svn.boost.org/trac/boost/changeset/63990

Log:
tweeking my third implementation for MSVC9 which will hopefully remove the warnings I getting
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/high_bits_mask.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/high_bits_mask.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/high_bits_mask.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/high_bits_mask.hpp 2010-07-13 14:52:23 EDT (Tue, 13 Jul 2010)
@@ -30,7 +30,7 @@
         BOOST_STATIC_CONSTANT(unsigned_type, val = (~( unsigned_type(0)))
               &
             (~(mpl::shift_right<
- mpl::size_t<~( T(0) )>,
+ mpl::size_t<static_cast<unsigned int>(~(T(0)))>,
                 mpl::size_t<Width>
>::type::value))
         );


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