mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-5445 Fix an issue with MSVC 6.
X-SVN-Rev: 20675
This commit is contained in:
parent
596bee3007
commit
464a7b1972
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ BreakIterator::buildInstance(const Locale& loc, const char *type, int32_t kind,
|
|||
|
||||
// If there is a result, set the valid locale and actual locale, and the kind
|
||||
if (U_SUCCESS(status) && result != NULL) {
|
||||
U_LOCALE_BASED(locBased, *result);
|
||||
U_LOCALE_BASED(locBased, *(BreakIterator*)result);
|
||||
locBased.setLocaleIDs(ures_getLocaleByType(b, ULOC_VALID_LOCALE, &status), actualLocale);
|
||||
result->setBreakType(kind);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue