--- /usr/pkg/include/boost/dynamic_bitset/dynamic_bitset.hpp.orig 2014-02-24 01:15:09.000000000 +0100 +++ dynamic_bitset.hpp 2014-02-12 10:02:18.000000000 +0100 @@ -1230,7 +1230,7 @@ if (i >= num_blocks()) return npos; // not found - return i * bits_per_block + boost::lowest_bit(m_bits[i]); + return i * bits_per_block + static_cast(boost::lowest_bit(m_bits[i])); } @@ -1261,7 +1261,7 @@ const Block fore = m_bits[blk] & ( ~Block(0) << ind ); return fore? - blk * bits_per_block + lowest_bit(fore) + blk * bits_per_block + static_cast(lowest_bit(fore)) : m_do_find_from(blk + 1); @@ -1694,7 +1694,7 @@ dynamic_bitset::calc_num_blocks(size_type num_bits) { return num_bits / bits_per_block - + static_cast( num_bits % bits_per_block != 0 ); + + static_cast( num_bits % bits_per_block != 0 ); } // gives a reference to the highest block