X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=boost%2Fboost%2Finteger_traits.hpp;h=aec1028087e486ef490d67be5cccdb70d70bc2f4;hb=43c09d723435a5b203f2ac0c39e2086de836b386;hp=129ce82c65375180deea6af122dee7fa90945ec1;hpb=eee966a7d81dbe6bea11c8a808e942021d180716;p=lyx.git diff --git a/boost/boost/integer_traits.hpp b/boost/boost/integer_traits.hpp index 129ce82c65..aec1028087 100644 --- a/boost/boost/integer_traits.hpp +++ b/boost/boost/integer_traits.hpp @@ -5,7 +5,7 @@ * accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * - * $Id: integer_traits.hpp 58381 2009-12-14 18:14:48Z johnmaddock $ + * $Id: integer_traits.hpp 75471 2011-11-13 06:10:55Z jewillco $ * * Idea by Beman Dawes, Ed Brey, Steve Cleary, and Nathan Myers */ @@ -227,7 +227,7 @@ class integer_traits< ::boost::ulong_long_type> template<> class integer_traits< ::boost::long_long_type> : public std::numeric_limits< ::boost::long_long_type>, - public detail::integer_traits_base< ::boost::long_long_type, (1LL << (sizeof(::boost::long_long_type) - 1)), ~(1LL << (sizeof(::boost::long_long_type) - 1))> + public detail::integer_traits_base< ::boost::long_long_type, (1LL << (sizeof(::boost::long_long_type) * CHAR_BIT - 1)), ~(1LL << (sizeof(::boost::long_long_type) * CHAR_BIT - 1))> { }; template<>