From 5920cfc40317d2b1f68cd356ecc10232bfbf08ba Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Thu, 7 Feb 2013 22:12:02 +0000 Subject: [PATCH] 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 --- include/algorithm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/algorithm b/include/algorithm index e24f9793..4adcc696 100644 --- a/include/algorithm +++ b/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;