diff options
author | romankoshelev <romankoshelev@yandex-team.com> | 2024-05-13 11:00:27 +0300 |
---|---|---|
committer | romankoshelev <romankoshelev@yandex-team.com> | 2024-05-13 11:13:05 +0300 |
commit | 5b22fadb0f035a3b82c328e0ae710ad2b92f6eac (patch) | |
tree | e15dc649c79c4fb78f35cd6694dfe9af9bfcc0ad /contrib/libs/icu/io/ustream.cpp | |
parent | 5946aa7d3cbca62f6bcf074e8a2b9346e7a96af4 (diff) | |
download | ydb-5b22fadb0f035a3b82c328e0ae710ad2b92f6eac.tar.gz |
Update ICU to 75.1
904da4ae1c86fc5542eac7f1cd18d97b72eb8517
Diffstat (limited to 'contrib/libs/icu/io/ustream.cpp')
-rw-r--r-- | contrib/libs/icu/io/ustream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/icu/io/ustream.cpp b/contrib/libs/icu/io/ustream.cpp index fd783b3b23..2bc212da09 100644 --- a/contrib/libs/icu/io/ustream.cpp +++ b/contrib/libs/icu/io/ustream.cpp @@ -53,7 +53,7 @@ operator<<(STD_OSTREAM& stream, const UnicodeString& str) do { errorCode = U_ZERO_ERROR; s = buffer; - ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, false, &errorCode); + ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, nullptr, false, &errorCode); *s = 0; // write this chunk @@ -114,7 +114,7 @@ operator>>(STD_ISTREAM& stream, UnicodeString& str) this code won't work on stateful encodings like ISO-2022 or an EBCDIC stateful encoding. We flush on the last byte to ensure that we output truncated multibyte characters. */ - ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, 0, !continueReading, &errorCode); + ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, nullptr, !continueReading, &errorCode); if(U_FAILURE(errorCode)) { /* Something really bad happened. setstate() isn't always an available API */ stream.clear(stream.failbit); |