Compare commits

..

2 Commits

Author SHA1 Message Date
Marshall Clow
6cb9cf71de Release 1.52.0
[SVN r81201]
2012-11-05 15:31:58 +00:00
Marshall Clow
f44fbae9ba Merge fixes to release; Fixes #5439
[SVN r72331]
2011-06-01 15:59:04 +00:00

View File

@@ -1108,10 +1108,10 @@ to_ulong() const
// beyond the "allowed" positions
typedef unsigned long result_type;
const size_type max_size =
const size_type maximum_size =
(std::min)(m_num_bits, static_cast<size_type>(ulong_width));
const size_type last_block = block_index( max_size - 1 );
const size_type last_block = block_index( maximum_size - 1 );
assert((last_block * bits_per_block) < static_cast<size_type>(ulong_width));