Change the 'result_type' from unsigned to 'uint_fast32_t'. This eliminates truncation warnings on Linux

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@174669 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow 2013-02-07 22:12:02 +00:00
parent b18165e704
commit 5920cfc403

View File

@ -2764,7 +2764,7 @@ class __rs_default
__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;