Commit 625684fa by Ulrich Weigand Committed by Ulrich Weigand

* include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp

	(PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
	type before shifting.

From-SVN: r101477
parent 9f2583c7
2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
* include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
(PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
type before shifting.
2005-06-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/21244 (cont^2)
......
......@@ -88,8 +88,10 @@ namespace pb_assoc
sizeof(typename PB_ASSOC_CLASS_C_DEC::size_type) << 3;
PB_ASSOC_CLASS_T_DEC
const typename PB_ASSOC_CLASS_C_DEC::size_type PB_ASSOC_CLASS_C_DEC::s_highest_bit_1 =
1 << (s_num_bits_in_size_type - 1);
const typename PB_ASSOC_CLASS_C_DEC::size_type
PB_ASSOC_CLASS_C_DEC::s_highest_bit_1 =
(typename PB_ASSOC_CLASS_C_DEC::size_type) 1
<< (s_num_bits_in_size_type - 1);
PB_ASSOC_CLASS_T_DEC
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment