2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_bvector.h: Fix warning.
From-SVN: r50625
+2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/stl_bvector.h: Fix warning.
+
2002-03-11 Richard Henderson <rth@redhat.com>
* include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
++_M_finish;
}
else {
- size_type __len = size() ? 2 * size() : _M_word_bit;
+ size_type __len = size()
+ ? 2 * size() : static_cast<size_type>(_M_word_bit);
_Bit_type * __q = _M_bit_alloc(__len);
iterator __i = copy(begin(), __position, iterator(__q, 0));
*__i++ = __x;