diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2017-09-12 15:00:43 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2017-09-12 15:00:43 +0000 |
commit | 29149d3e3565813dcf8b9adc895a6a39eeccdd09 (patch) | |
tree | 69559651ab6f3567b5404f1dfcf63a9b467b79f9 /include/locale | |
parent | 60f8ad1b1dbfa6673919bbf3e7e629997224651d (diff) |
Make pbump (internally) handle sizes bigger than MAX_INT. Fixes PR#33725 - thanks to Jonathan Wakely for the report
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@313031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/locale')
-rw-r--r-- | include/locale | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/locale b/include/locale index d30d950c7..a86645d2c 100644 --- a/include/locale +++ b/include/locale @@ -4110,7 +4110,7 @@ wbuffer_convert<_Codecvt, _Elem, _Tr>::overflow(int_type __c) if (__r == codecvt_base::partial) { this->setp(const_cast<char_type *>(__e), this->pptr()); - this->pbump(this->epptr() - this->pbase()); + this->__pbump(this->epptr() - this->pbase()); } } else |