Change the 'result_type' from unsigned to 'uint_fast32_t'. This eliminates truncation warnings on Linux
llvm-svn: 174669
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: b6e5f854f530d7a6c2f1bc5043730279d034f781
diff --git a/include/algorithm b/include/algorithm
index e24f979..4adcc69 100644
--- a/include/algorithm
+++ b/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;