Fixed build with ICU 68.2-1

This commit is contained in:
Your Name 2021-01-23 01:35:08 +01:00
parent 7f9a0eb148
commit 9116feac76

View File

@ -453,7 +453,7 @@ void charsetFilteredOutputStream_icu::writeImpl(
ucnv_fromUnicode(
m_to, &cpTarget, cpTargetLimit,
&cpSource, cpSourceLimit, NULL, /* flush */ UBOOL(0), &fromErr
&cpSource, cpSourceLimit, NULL, /* flush */ UBool(0), &fromErr
);
if (fromErr != U_BUFFER_OVERFLOW_ERROR && U_FAILURE(fromErr)) {