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:
parent
b18165e704
commit
5920cfc403
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user