Created
January 19, 2024 22:01
-
-
Save kallisti5/c9fba7345fd7bc460298f412a70ed860 to your computer and use it in GitHub Desktop.
ICU 66 to 74
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/system/libroot/add-ons/icu/ICUCtypeData.cpp b/src/system/libroot/add-ons/icu/ICUCtypeData.cpp | |
index 5e4319d483..2ecad3775f 100644 | |
--- a/src/system/libroot/add-ons/icu/ICUCtypeData.cpp | |
+++ b/src/system/libroot/add-ons/icu/ICUCtypeData.cpp | |
@@ -544,9 +544,8 @@ ICUCtypeData::_GetConverterForMbState(mbstate_t* mbState, | |
// ... and clone it into the mbstate | |
UErrorCode icuStatus = U_ZERO_ERROR; | |
- int32_t bufferSize = sizeof(mbState->data); | |
UConverter* clone | |
- = ucnv_safeClone(icuConverter, mbState->data, &bufferSize, &icuStatus); | |
+ = ucnv_clone(icuConverter, &icuStatus); | |
if (clone == NULL || !U_SUCCESS(icuStatus)) | |
return B_ERROR; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment