commit | b6e5f854f530d7a6c2f1bc5043730279d034f781 | [log] [tgz] |
---|---|---|
author | Marshall Clow <[email protected]> | Thu Feb 07 22:12:02 2013 |
committer | Marshall Clow <[email protected]> | Thu Feb 07 22:12:02 2013 |
tree | 864849231be3a892b35ddf1ef84798e4158f5716 | |
parent | 64ff6c70da3077c8fcafdd19b5d2377bc7bdcf13 [diff] [blame] |
Change the 'result_type' from unsigned to 'uint_fast32_t'. This eliminates truncation warnings on Linux llvm-svn: 174669
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm index e24f979..4adcc69 100644 --- a/libcxx/include/algorithm +++ b/libcxx/include/algorithm
@@ -2764,7 +2764,7 @@ __rs_default(); public: - typedef unsigned result_type; + typedef uint_fast32_t result_type; static const result_type _Min = 0; static const result_type _Max = 0xFFFFFFFF;