diff options
author | Vincent Richard <[email protected]> | 2021-01-11 21:04:52 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2021-01-11 21:04:52 +0000 |
commit | ec5b8f7cfe38e58b38eb5613b63b4b8f1a8343e0 (patch) | |
tree | f617b136d4dd0c05e833806bb8c7875519af897f /src | |
parent | Reply-To should be an addressList according to the RFC. (diff) | |
download | vmime-ec5b8f7cfe38e58b38eb5613b63b4b8f1a8343e0.tar.gz vmime-ec5b8f7cfe38e58b38eb5613b63b4b8f1a8343e0.zip |
#247 Fixed build with ICU 68.2-1
Diffstat (limited to 'src')
-rw-r--r-- | src/vmime/charsetConverter_icu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vmime/charsetConverter_icu.cpp b/src/vmime/charsetConverter_icu.cpp index 55195b78..5779cd90 100644 --- a/src/vmime/charsetConverter_icu.cpp +++ b/src/vmime/charsetConverter_icu.cpp @@ -413,7 +413,7 @@ void charsetFilteredOutputStream_icu::writeImpl( ucnv_toUnicode(
m_from, &uniTarget, uniTargetLimit,
- &uniSource, uniSourceLimit, NULL, /* flush */ FALSE, &toErr
+ &uniSource, uniSourceLimit, NULL, /* flush */ UBool(0), &toErr
);
if (U_FAILURE(toErr) && toErr != U_BUFFER_OVERFLOW_ERROR) {
@@ -509,7 +509,7 @@ void charsetFilteredOutputStream_icu::flush() { ucnv_toUnicode(
m_from, &uniTarget, uniTargetLimit,
- &uniSource, uniSourceLimit, NULL, /* flush */ TRUE, &toErr
+ &uniSource, uniSourceLimit, NULL, /* flush */ UBool(1), &toErr
);
if (U_FAILURE(toErr) && toErr != U_BUFFER_OVERFLOW_ERROR) {
@@ -540,7 +540,7 @@ void charsetFilteredOutputStream_icu::flush() { ucnv_fromUnicode(
m_to, &cpTarget, cpTargetLimit,
- &cpSource, cpSourceLimit, NULL, /* flush */ TRUE, &fromErr
+ &cpSource, cpSourceLimit, NULL, /* flush */ UBool(1), &fromErr
);
if (fromErr != U_BUFFER_OVERFLOW_ERROR && U_FAILURE(fromErr)) {
|