Compare commits

...

2 Commits

Author SHA1 Message Date
Marshall Clow
c0e47bb5b7 Release 1.51.0
[SVN r80098]
2012-08-20 22:07:05 +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));