diff options
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/std/limits | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1b2567d..442f91c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2015-04-28 Marc Glisse <marc.glisse@inria.fr> + + PR libstdc++/65883 + * include/std/limits (numeric_limits): Add missing unsigned. + 2015-04-28 Stephan Bergmann <sbergman@redhat.com> * include/debug/vector (_Safe_vector::operator=): Add missing returns. diff --git a/libstdc++-v3/include/std/limits b/libstdc++-v3/include/std/limits index 550d81f..793683f 100644 --- a/libstdc++-v3/include/std/limits +++ b/libstdc++-v3/include/std/limits @@ -1490,7 +1490,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION min() _GLIBCXX_USE_NOEXCEPT { return 0; } \ \ static _GLIBCXX_CONSTEXPR unsigned TYPE \ - max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE); } \ + max() _GLIBCXX_USE_NOEXCEPT \ + { return __glibcxx_max_b (unsigned TYPE, BITSIZE); } \ \ UEXT \ \ |