Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Clow <mclow@qualcomm.com>2013-02-08 02:12:02 +0400
committerMarshall Clow <mclow@qualcomm.com>2013-02-08 02:12:02 +0400
commitb6e5f854f530d7a6c2f1bc5043730279d034f781 (patch)
tree864849231be3a892b35ddf1ef84798e4158f5716 /libcxx/include/algorithm
parent64ff6c70da3077c8fcafdd19b5d2377bc7bdcf13 (diff)
Change the 'result_type' from unsigned to 'uint_fast32_t'. This eliminates truncation warnings on Linux
llvm-svn: 174669
Diffstat (limited to 'libcxx/include/algorithm')
-rw-r--r--libcxx/include/algorithm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm
index e24f9793c50b..4adcc69674ce 100644
--- a/libcxx/include/algorithm
+++ b/libcxx/include/algorithm
@@ -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;