mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-187 don't use aliasing unistr ct
X-SVN-Rev: 355
This commit is contained in:
parent
013dbc330f
commit
7873a4ffa4
1 changed files with 1 additions and 2 deletions
|
@ -80,8 +80,7 @@ ucal_open( const UChar* zoneID,
|
|||
else {
|
||||
int32_t length = (len == -1 ? u_strlen(zoneID) : len);
|
||||
|
||||
zone = TimeZone::createTimeZone(UnicodeString((UChar*)zoneID,
|
||||
length, length));
|
||||
zone = TimeZone::createTimeZone(UnicodeString((UChar*)zoneID));
|
||||
}
|
||||
if(zone == 0) {
|
||||
*status = U_MEMORY_ALLOCATION_ERROR;
|
||||
|
|
Loading…
Add table
Reference in a new issue