Apply patch from Vincent Botet Escriba: fix check for size > long long.

[SVN r77109]
This commit is contained in:
John Maddock 2012-02-24 16:57:13 +00:00
parent cc73477d13
commit 1898e66238

View File

@ -114,7 +114,7 @@ namespace boost
typedef typename detail::int_least_helper
<
#ifdef BOOST_HAS_LONG_LONG
(Bits-1 <= (int)(sizeof(boost::long_long_type) * CHAR_BIT)) +
(Bits <= (int)(sizeof(boost::long_long_type) * CHAR_BIT)) +
#else
1 +
#endif
@ -144,7 +144,7 @@ namespace boost
<
5 +
#ifdef BOOST_HAS_LONG_LONG
(Bits-1 <= (int)(sizeof(boost::long_long_type) * CHAR_BIT)) +
(Bits <= (int)(sizeof(boost::long_long_type) * CHAR_BIT)) +
#else
1 +
#endif