ICU-535 fix MSVC level 4 warnings
X-SVN-Rev: 2267
This commit is contained in:
parent
681c905178
commit
52cf4245ae
@ -80,7 +80,7 @@ ucal_open( const UChar* zoneID,
|
||||
else {
|
||||
int32_t length = (len == -1 ? u_strlen(zoneID) : len);
|
||||
|
||||
zone = TimeZone::createTimeZone(UnicodeString(len == -1, zoneID, length));
|
||||
zone = TimeZone::createTimeZone(UnicodeString(zoneID, length));
|
||||
}
|
||||
if(zone == 0) {
|
||||
*status = U_MEMORY_ALLOCATION_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user