X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=boost%2Finteger_traits.hpp;h=d896e46e5d56a6474b9e3eda68bfcc6ed3765200;hb=b64d62d49f9b0446f10f87a2aadcde2f36854ab6;hp=129ce82c65375180deea6af122dee7fa90945ec1;hpb=a95154919f950f86de9104b2b9dcf1f0c7e83387;p=rsem.git diff --git a/boost/integer_traits.hpp b/boost/integer_traits.hpp index 129ce82..d896e46 100644 --- a/boost/integer_traits.hpp +++ b/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 85813 2013-09-21 20:17:00Z 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<>