summaryrefslogtreecommitdiffstats
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorMarshall Clow <mclow@qualcomm.com>2013-02-07 22:12:02 +0000
committerMarshall Clow <mclow@qualcomm.com>2013-02-07 22:12:02 +0000
commitb6e5f854f530d7a6c2f1bc5043730279d034f781 (patch)
tree864849231be3a892b35ddf1ef84798e4158f5716 /libcxx/include/algorithm
parent64ff6c70da3077c8fcafdd19b5d2377bc7bdcf13 (diff)
downloadbcm5719-llvm-b6e5f854f530d7a6c2f1bc5043730279d034f781.tar.gz
bcm5719-llvm-b6e5f854f530d7a6c2f1bc5043730279d034f781.zip
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 e24f9793c50..4adcc69674c 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;
OpenPOWER on IntegriCloud